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 !
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.
thank you, it works
ISimNode partRootNode = part.RootNode;
IFrameFeature frameFeature = partRootNode.Features.OfType().FirstOrDefault();
Matrix worldMtx = part.RootNode.GetFeatureTransformationInWorld(frameFeature);
您是本站第483417名访客 今日有0篇新文章/评论