unreal.RigUnit_GetItemNameSpace

class unreal.RigUnit_GetItemNameSpace(item: RigElementKey = Ellipsis, has_name_space: bool = False, name_space: str = '')

Bases: RigUnit_RigModulesBase

Returns the namespace of a given item. This may be an empty string if the item doesn’t have a namespace.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_RigModules.h

Editor Properties: (see get_editor_property/set_editor_property)

  • has_name_space (bool): [Read-Write] * True if the item has a valid namespace

  • item (RigElementKey): [Read-Write] * The key of the item to return the namespace for

  • name_space (str): [Read-Write] * The namespace of the item

property has_name_space: bool

[Read-Only] * True if the item has a valid namespace

Type:

(bool)

property item: RigElementKey

[Read-Write] * The key of the item to return the namespace for

Type:

(RigElementKey)

property name_space: str

[Read-Only] * The namespace of the item

Type:

(str)