maya.core.shapenode

Base Class for Maya Shape Nodes.

Classes

ShapeNode

Base for all nodes that have an associated transform + shape relationship.

Module Contents

class ShapeNode(node_name)

Bases: maya.core.dagnode.DagNode

Base for all nodes that have an associated transform + shape relationship.

property long_name

Return the full DAG path, respecting the specific instance path if possible.

Returns:

str: The full DAG path to this shape node.

property parent

Return the parent as a wrapped node (or None if no parent).

Returns:

Node or None: The parent node wrapper.

property shape

Return the shape node itself (for consistency with transform API).

Returns:

ShapeNode: Returns self.

property transform

Return the parent transform as a DagNode.

Returns:

Transform: The parent transform node wrapper.