unreal.RigUnit_CollectionReplaceItems

class unreal.RigUnit_CollectionReplaceItems(items: RigElementKeyCollection = Ellipsis, old: Name = 'None', new: Name = 'None', remove_invalid_items: bool = False, allow_duplicates: bool = False, collection: RigElementKeyCollection = Ellipsis)

Bases: RigUnit_CollectionBase

Replaces all names within the collection

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Collection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_duplicates (bool): [Read-Write]

  • collection (RigElementKeyCollection): [Read-Write]

  • items (RigElementKeyCollection): [Read-Write]

  • new (Name): [Read-Write]

  • old (Name): [Read-Write]

  • remove_invalid_items (bool): [Read-Write]

property allow_duplicates: bool

[Read-Write]

Type:

(bool)

property collection: RigElementKeyCollection

[Read-Only]

Type:

(RigElementKeyCollection)

property items: RigElementKeyCollection

[Read-Write]

Type:

(RigElementKeyCollection)

property new: Name

[Read-Write]

Type:

(Name)

property old: Name

[Read-Write]

Type:

(Name)

property remove_invalid_items: bool

[Read-Write]

Type:

(bool)