opselectrecurse expression function

Returns a recursive list of the selected nodes.

Replaced by: hou.selectedNodes

All Usage Examples

See also: opselect, opflag

Usage

opselectrecurse(network, flag)

Returns a string with a space separated list of the selected nodes in the given network, included 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”.