Houdini 20.5 Nodes APEX Nodes

component::SetTransformParent

Sets the parent of a TransformObject node.

On this page
Since 20.5

Sets the parent of a TransformObject node (nodeid). Either a reference skeleton or the compiled graph can be used to fetch the transform values, which are used to compute a new restlocal for nodeid.

The graph ports of this node are in-place ports, which means that the graph is updated without creating a copy.

Inputs

*graph: ApexGraphHandle Required

The graph that contains the node to set the parent of.

nodeid: ApexNodeID

The node to set the parent of.

parent: ApexNodeID

The parent node.

ref_graph: ApexGraphHandle

The compiled and invoked graph that is used to fetch the xform values of the TransformObject nodes. Use graph::Compile to compile and invoke the graph upstream from this node, setting doinvoke to True.

skel: Geometry

The reference skeleton to use to fetch the transform values.

Outputs

*graph: ApexGraphHandle

The graph with the updated hierarchy.

See also

APEX Nodes