LockGroup

Locks a group of objects.  Locked object are visible, and they can be snapped to.  But, they cannot be selected.

Syntax

rhinoscriptsyntax.LockGroup (group_name)

rhinoscript.group.LockGroup (group_name)

Parameters

group_name

Required.  String.  The name of an existing group.

Returns

Number

The number of object that were locked if successful.

None

On error.

Example

import rhinoscriptsyntax as rs

names = rs.GroupNames()

if names:

    for name in names: rs.LockGroup(name)

Also See

HideGroup

ShowGroup

UnlockGroup