Node Viewport State Methods

hide <node> -- mapped 

Hides the specified node or node collection.

unhide <node> [doLayer:<boolean>] -- mapped 

Unhides the specified node or node collection.

If the optional doLayer keyword is set to true and the node is in a layer that is hidden, the entire layer is unhidden. When false (the default), just the node is unhidden.

freeze <node> -- mapped 

Freezes the specified node or node collection.

unfreeze <node> [doLayer:<boolean>] -- mapped 

Unfreezes the specified node or node collection.

If the optional doLayer keyword is set to true and the node is in a layer that is frozen, the entire layer is unfrozen. When false (the default), just the node is unfrozen.

flagForeground <node> <boolean> -- mapped 

Controls the disposition of scene nodes in the viewport foreground/background planes, so you can influence interactive performance on a node. Nodes placed in the foreground plane are redrawn individually, so interactive changes to them through spinners in scripted rollout panels are much faster.

The boolean argument puts the scene node(s) into the foreground plane if true , or into the background plane if false . You must be judicious in putting nodes in the foreground plane because putting too many objects in the foreground plane reduces the foreground plane's effectiveness. Remember to unflag objects when you do not need to interactively control them any more.

getTrajectoryOn <node> 

Returns true if Trajectory is shown for the node, false otherwise.

setTrajectoryOn <node> <boolean> 

Sets whether Trajectory is shown for the node. If <boolean> is true , Trajectory is shown. If <boolean> is false , Trajectory is not shown.

isBoneOnly <node> 

Returns true if the node's showLinksOnly property is true .

getCVertMode <node> 

Returns true if node is displayed using vertex colors in shaded viewports, false otherwise.

setCVertMode <node> <boolean> 

Sets whether to display the effect of assigned vertex colors for the node in shaded viewports. If <boolean> is true , node is displayed using vertex colors. If <boolean> is false , node is displayed using the material or wireframe color.

getShadeCVerts <node> 

Returns true if the vertex color display for the node is shaded in the viewports, false otherwise.

setShadeCVerts <node> <boolean> 

Sets whether the vertex color display for the node is shaded in the viewports. When true , the colors are unshaded and appear in their pure RGB values. When false , the colors appear like any other assigned color in the viewports.