Select all objects in a scene

selection
python

#1

I understand that rhino has a “select object” command that can be used in Python. However, it then prompts the user to physically click on the object. I was wondering if there was a command wich would allow me to select all objects in a scene without physically clicking them?


#2

Hi @Adara_Azeez,

you might try this:

import rhinoscriptsyntax as rs
objs = rs.AllObjects(select=True)
for obj in objs: 
    print "Object identifier: ", obj

there are more options here.

c.