Hides and shows layers, objects, groups, partitions, polygons and polygon clusters.
ToggleVisibility( [Target], [PropertyName], [ThreeState] ); |
Parameter | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Target | String |
List of objects to show or hide. Default Value: Current selection |
||||||||||||
PropertyName | String |
Comma-separated list of visibility parameters to toggle. Default Value: visibility
|
||||||||||||
ThreeState | Boolean |
Allow three state operation (on/off/neutral). Default Value: FALSE
|
' hiding a newly created 3D object CreatePrim "Sphere", "MeshSurface" ToggleVisibility |
' hiding some polygons on a newly created 3D object CreatePrim "Sphere", "MeshSurface" SelectObj "Sphere.poly[0-10]" ToggleVisibility SetDisplayMode "Camera", "shaded" |
' toggling the viewport visibility of all objects in the default layer ToggleVisibility "Layers.Layer_Default", "viewvis" |