unreal.TypedElementCommonActions

class unreal.TypedElementCommonActions(outer=None, name='None')

Bases: unreal.Object

A utility to handle higher-level common actions, but default via UTypedElementWorldInterface, but asset editors can customize this behavior via FTypedElementCommonActionsCustomization.

C++ Source:

  • Module: Engine

  • File: TypedElementCommonActions.h

delete_normalized_elements(element_list, world, selection_set, deletion_options) bool

Delete any elements from the given list that can be deleted. note: This list should have been pre-normalized via UTypedElementSelectionSet::GetNormalizedSelection or UTypedElementSelectionSet::GetNormalizedElementList.

Parameters
Return type

bool

delete_selected_elements(selection_set, world, deletion_options) bool

Delete any elements from the given selection set that can be deleted. note: Internally this just calls DeleteNormalizedElements on the result of UTypedElementSelectionSet::GetNormalizedSelection.

Parameters
Return type

bool

duplicate_normalized_elements(element_list, world, location_offset)

Duplicate any elements from the given list that can be duplicated. note: This list should have been pre-normalized via UTypedElementSelectionSet::GetNormalizedSelection or UTypedElementSelectionSet::GetNormalizedElementList.

Parameters
Return type

Array(ScriptTypedElementHandle)

duplicate_selected_elements(selection_set, world, location_offset)

Duplicate any elements from the given selection set that can be duplicated. note: Internally this just calls DuplicateNormalizedElements on the result of UTypedElementSelectionSet::GetNormalizedSelection.

Parameters
Return type

Array(ScriptTypedElementHandle)