unreal.RigUnit_CollectionReplaceItemsArray

class unreal.RigUnit_CollectionReplaceItemsArray(items: Array[RigElementKey] = [], old: Name = 'None', new: Name = 'None', remove_invalid_items: bool = False, allow_duplicates: bool = False, result: Array[RigElementKey] = [])

Bases: RigUnit_CollectionBase

Replaces 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] Allow Duplicates

  • items (Array[RigElementKey]): [Read-Write] Items

  • new (Name): [Read-Write] New

  • old (Name): [Read-Write] Old

  • remove_invalid_items (bool): [Read-Write] Remove Invalid Items

  • result (Array[RigElementKey]): [Read-Write] Result

property allow_duplicates: bool

[Read-Write] Allow Duplicates

Type:

(bool)

property items: Array[RigElementKey]

[Read-Write] Items

Type:

(Array[RigElementKey])

property new: Name

[Read-Write] New

Type:

(Name)

property old: Name

[Read-Write] Old

Type:

(Name)

property remove_invalid_items: bool

[Read-Write] Remove Invalid Items

Type:

(bool)

property result: Array[RigElementKey]

[Read-Only] Result

Type:

(Array[RigElementKey])