Select group in python

Hi,

I am looking for a solution to select initially grouped objects in python. Is there any way to select group at once?

Thanks,
Andras

In the meantime I have found answer, thanks.

http://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Input_Custom_GetObject__ctor.htm

Hi @onrender,

This works too:

import rhinoscriptsyntax as rs
obj_ids = rs.GetObjects("Select objects", 0, True) # True = Group select
for id in obj_ids: 
    print "Object identifier:", id

– Dale

1 Like

Got it, thanks.

A post was split to a new topic: Select Groups