mcneel / rhinocommon

RhinoCommon is the .NET SDK for Rhino5 / Grasshopper
http://wiki.mcneel.com/developer/rhinocommon
242 stars 92 forks source link

Obtaining Group by index #7

Closed jmirtsch closed 13 years ago

jmirtsch commented 13 years ago

Excuse me if I'm missing something here.

Rhino.DocObjects.Tables contains a group table. The method Add(IEnumerable objectIds) returns an index in the group table, great.

But how can I now access the group from that index? Is this something to be implemented still? Typical indexing doesn't seem available.

I'm referring to the rc dll shipping with GH 0.8.0010

Thanks in advance,

Jon

sbaer commented 13 years ago

A GroupMembers function should be available in the next build.

public RhinoObject[] GroupMembers(int groupIndex)

https://github.com/mcneel/rhinocommon/commit/98a3d0d542aaa08b399f4e3adfe40b801aa1ccfb