Houdini 19.0 Expression functions opselectrecurse

opselectrecurse expression function

Returns a recursive list of the selected nodes.

HOM equivalent

hou.selectedNodes()

opselectrecurse(network, flag)

Returns a string with a space separated list of the selected nodes in the given network, including selected children according to the context.

Examples

echo `opselectrecurse("/obj/model",1)`

Returns “edgecusp1 subnet1 subnet1/sphere2”

echo `opselectrecurse("/obj/model",0)`

Returns “edgecusp1 shopnet1 subnet1 subnet1/sphere2”.

See also

opselectrecurse