DagNode

class cgp_maya_utils.scene.DagNode(name)

Bases: cgp_maya_utils.scene.Node

node object that manipulates any kind of dag node

fullName()

the full name of the node

Returns:the full name of the node
Return type:str
name()

the the shortest unique name of the node

Returns:the name of the node
Return type:str
parent()

the parent of the dag node

Returns:the parent of the dag node
Return type:cgp_maya_utils.scene.DagNode
setParent(parent=None)

set the parent of the dag node

Parameters:parent (str or cgp_maya_utils.scene.DagNode) – dag node to parent the dag node to - If None, parent is the root of the scene