Namespace¶
-
class
cgp_maya_utils.scene.Namespace(namespace)¶ Bases:
objectnamespace object that manipulates a namespace
-
classmethod
create(name)¶ create a namespace
Parameters: name (str) – name of the namespace to create Returns: the created namespace Return type: cgp_maya_utils.scene.Namespace
-
fullName(asAbsolute=True)¶ the full name of the namespace
Parameters: asAbsolute (bool) – True: full name is returned asAbsolute -Falsefull name is returned as relativeReturns: the full name of the namespace Return type: str
-
isCurrent()¶ check is the namespace is the current namespace
-
parent()¶ the parent namespace of the namespace
-
setAsCurrent()¶ set the namespace as current namespace
-
classmethod