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

  • collection (RigElementKeyCollection): [Read-Write] Collection

  • items (RigElementKeyCollection): [Read-Write] Items

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

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

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

property allow_duplicates: bool

[Read-Write] Allow Duplicates

Type:

(bool)

property collection: RigElementKeyCollection

[Read-Only] Collection

Type:

(RigElementKeyCollection)

property items: RigElementKeyCollection

[Read-Write] Items

Type:

(RigElementKeyCollection)

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)