unreal.RigUnit_CollectionReplaceItemsArray¶
- class unreal.RigUnit_CollectionReplaceItemsArray(items: None = [], old: Name = 'None', new: Name = 'None', remove_invalid_items: bool = False, allow_duplicates: bool = False, result: None = [])¶
Bases:
RigUnit_CollectionBaseReplaces all names within the item array
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_Collection.h
Editor Properties: (see get_editor_property/set_editor_property)
allow_duplicates(bool): [Read-Write] If True the list may contain duplicatesitems(Array[RigElementKey]): [Read-Write] The input array of items to replacenew(Name): [Read-Write] The new name to replace the old name withold(Name): [Read-Write] The old name to look forremove_invalid_items(bool): [Read-Write] If True items that don’t exist (after the replace operation) will be removed from the list of resultsresult(Array[RigElementKey]): [Read-Write] The resulting array of items
- property remove_invalid_items: bool¶
[Read-Write] If True items that don’t exist (after the replace operation) will be removed from the list of results
- Type:
(bool)