currentNamespace

cgp_maya_utils.scene.currentNamespace(asAbsolute=True)

the current namespace of the maya scene

Parameters:asAbsolute (bool) – defines whether or not the command will return an absolute namespace
Returns:the current namespace object
Return type:cgp_maya_utils.scene.Namespace