LockedObjects

Returns the identifiers of all locked objects in the document.  Visible objects are visible and can be snapped to, but they cannot be selected.

Syntax

rhinoscriptsyntax.LockedObjects (include_lights=False, include_grips=False)

rhinoscript.selection.LockedObjects (include_lights=False, include_grips=False)

Parameters

include_lights

Optional.  Boolean.  Include light objects.  If omitted, light objects are not returned (False).

include_grips

Optional.  Boolean.  Include grips objects.  If omitted, grips objects are not returned (False).

Returns

List

A list of Guids identifying the objects if successful.

Example

import rhinoscriptsyntax as rs

objs = rs.LockedObjects()

for obj in objs: print "Object identifier:", obj

Also See

AllObjects

HiddenObjects

NormalObjects

ReferenceObjects