set_current_network
Navigate the network editor to a network; the viewer follows it in.
Instructions
Navigate the network editor to a network; the viewer follows it in.
Call it on the network you build in. By default the viewer then hides every other object (the viewport's Y hotkey, no display flag touched), so the work is seen on its own and the rest of the scene does not cook.
A DOP network becomes the current one, where DOP shelf tools build (the
reply names current_dop_network), as entering it in Houdini does; with
other_objects=None that is all it changes besides the editor.
A Visible Objects pattern (saved with the hip) that leaves this object
out is set back to "*", named in visible_objects_reset.
A node that is not a network (a SOP) is made current in its own network,
named in entered and current_node.
Args: network_path: Network path to navigate to. other_objects: "hide" (default), "ghost", "show", or null to leave the viewer as it is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_path | Yes | ||
| other_objects | No | hide |