HideGroup

Hides a group of object.  Hidden objects are not visible, cannot be snapped to, and cannot be selected.

Syntax

rhinoscriptsyntax.HideGroup (group_name)

rhinoscript.group.HideGroup (group_name)

Parameters

group_name

Required.  String.  The name of an existing group.

Returns

Number

The number of object that were hidden if successful.

None

On error.

Example

import rhinoscriptsyntax as rs

groups = rs.GroupNames()

if groups:

    for group in groups: rs.HideGroup(group)

Also See

LockGroup

ShowGroup

UnlockGroup