v3.0
viewing
Unhides hidden polygon clusters on the selection.
UnhideAllPolygonClusters(); |
' Create a sphere, create a cluster, hide it, create another cluster, hide it, select the sphere, then unhide everything CreatePrim "Sphere", "MeshSurface" ActivatePolygonSelTool SelectGeometryComponents "sphere.poly[0-20]" CreateCluster SIAddProp "Component Visibility", "sphere.polymsh.cls.Polygon", siDefaultPropagation SetValue "sphere.polymsh.cls.Polygon.clsvisibility.viewvis,sphere.polymsh.cls.Polygon.clsvisibility.rendvis", False SelectGeometryComponents "sphere.poly[40-59]" CreateCluster SIAddProp "Component Visibility", "sphere.polymsh.cls.Polygon1", siDefaultPropagation SetValue "sphere.polymsh.cls.Polygon1.clsvisibility.viewvis,sphere.polymsh.cls.Polygon1.clsvisibility.rendvis", False SelectObj "sphere" UnhideAllPolygonClusters |