Get selected Geometry with ObjectTable

Hi all,

i try to get selected objects from the document with the ObjectTable.

import scriptcontext as sc
import rhinoscriptsyntax as rs
import Rhino as rh

sc.doc = rh.RhinoDoc.ActiveDoc
ObjTa = sc.doc.Objects
Obj = rh.DocObjects.Tables.ObjectTable.GetSelectedObjects(ObjTa,False,False)

print Obj

I dont know how to get the selected geometry from the printed result.

Hi flokart, does this help?

objs = sc.doc.Objects.GetSelectedObjects(False,False)
for obj in objs: print obj.Geometry

Of course that Helps …but how i could know that?.
How do YOU know that.

Maybe it is easier to learn python / rhinocommon outside of grasshopper. Then you can set breakpoints and inspect the content of the objects:

OOO WOW i didnt know that the RhinoPython Editor provides so much Info.
Do you know if there are efforts from mcneel to bring this kind of features to the grasshopperPython editor?

The editor-question (IDE) is frequently discussed here. I would not expect too much…