Hello,

With .NET a have selected some part as ISimNode and inside this parts there is a frame,
and I want to get access to this frame and its TransformationMatrix always with .NET

Any Help Please !

From ISimNode you can access the Features property and then search for the IFrameFeature.

The IFrameFeature has TransformationInReference for the local transformation matrix, or ISimNode.GetFeatureTransformationInWorld(frame_feature) for the world transformation matrix.

1 Like

thank you, it works

ISimNode partRootNode = part.RootNode;
IFrameFeature frameFeature = partRootNode.Features.OfType().FirstOrDefault();
Matrix worldMtx = part.RootNode.GetFeatureTransformationInWorld(frameFeature);