v1.0
Hides selected or given objects.
SIHideObjects( [Target], [PropertyName] ); |
Parameter | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Target | String | List of objects.
Default Value: Selected objects |
||||||||||
PropertyName | String | Visibility parameter(s) to set.
Default Value: visibility
|
NewScene 'Get two primitive objects, select them both and then hide them CreatePrim "Cone", "MeshSurface" CreatePrim "Sphere", "MeshSurface" 'Select all the polygon mesh children of the scene root and hide them set objs = activesceneroot.children.filter(siPolyMeshType) SIHideObjects objs 'Unhide them both and then hide only their render visibility set objs = activesceneroot.children.filter(siPolyMeshType) SIUnhideObjects objs SIHideObjects objs, "rendvis" |
NewScene 'Get a primitive sphere, tag some polygons and then hide them CreatePrim "Sphere", "MeshSurface" SelectGeometryComponents "sphere.poly[19-21,27-29]" SIHideObjects |