C#_get rotation angle and translation vector from InstanceReferenceGeometry

Hi All,
I am reading rhino file which has several instanceReferenceGeometries. I want to get their transformation information particularly angle of rotation ( all the geometries are rotated only in z-axis) also the translation vector.

I am calling .Xform to get Transform object but how do i proceed further?

Thanks You!

Hi @obhagwat29,

Try using Transform.DecomposeAffine or Transform.DecomposeRigid.

ā€“ Dale

1 Like