Doc > Nodes > SOP > Hierarchy

Doc > Nodes > SOP > Hierarchy

Adds or remove parents from the object hierarchy.

Description

This can be useful after importing a geometry from a File SOP, where the part we want to manipulate is under one or several parents. This allows to extract it to make it available for other nodes.

Parameters

Name Type Description
mode integer defines if parent objects will be added or removed
levels integer defines how many parent objects will be added or removed
objectMask string when the mode is set to add_child, the mask defines which parent the children are added to. If the mask is an empty string, the children will be added to the objects at the top of the hierarchy. Also, the children are taken from the second input.
debugObjectMask boolean when the mode is set to add_child, the objects used as parent will be printed to the console