Returns the identifiers of all objects in the document.
rhinoscriptsyntax.AllObjects (select=False, include_lights=False, include_grips=False)
rhinoscript.selection.AllObjects (select=False, include_lights=False, include_grips=False)
select |
Optional. Boolean. Select the objects. If omitted, the objects are not selected (False). |
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). |
List |
A list of Guids identifying the objects if successful. |
import rhinoscriptsyntax as rs
objs = rs.AllObjects()
for obj in objs: print "Object identifier: ", obj