Point on Sheet => Point on View

Point on Sheet => Point on View

minet.axel
Enthusiast Enthusiast
1,039 Views
2 Replies
Message 1 of 3

Point on Sheet => Point on View

minet.axel
Enthusiast
Enthusiast

Hello

For a given sheet coordinate (location on sheet), say XYZ pointOnSheet, i want to know coinciding Model coordinate, say XYZ pointOnView.Viewport.Sans titre.png

 

I tested the Transform from the view and transform the point but it does not work.

 

 BoundingBoxXYZ bbox = viewSection.CropBox;
 Transform transform = bbox.Transform;
 XYZ pointOnViewSheet = new XYZ(0, 0, 0);
 XYZ pointOnView= transform.OfPoint(pointOnViewSheet );
0 Likes
1,040 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk
0 Likes
Message 3 of 3

minet.axel
Enthusiast
Enthusiast

I stumbled upon it during my research but it did not help. I want to get a point on a sheet so I can insert the independant Tag because the independantTag is necessarily in the view and not in the sheet.

0 Likes