Objects
To get the selected Origin object by index.
OriginObject Objects( int nIndex = 0 )
EX1
void Selection_Objects_Ex1() { OriginObject OrgObj; OrgObj = Selection.Objects(0); GraphObject go; go = (GraphObject)OrgObj; out_str(go.GetName()); }
origin.h