Hides a group of object. Hidden objects are not visible, cannot be snapped to, and cannot be selected.
rhinoscriptsyntax.HideGroup (group_name)
rhinoscript.group.HideGroup (group_name)
group_name |
Required. String. The name of an existing group. |
Number |
The number of object that were hidden if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
groups = rs.GroupNames()
if groups:
for group in groups: rs.HideGroup(group)