Nodes Hierarchy

Parenting

group = nc.createNode('transform')
joint = nc.joint()

joint.setParent(group)

Querying Relatives

# Get the parent node
joint.parent()

# Query children directly
# This method takes *.listRelatives* kwargs
group.children()

# This is also available
group.listRelatives()

Querying Shapes

# Get first shape under the transform
geometry.shape()

# List of all shapes
geometry.shapes()