VvierA Posted November 13, 2013 Share Posted November 13, 2013 So everything works fine with my new level dimension tool but I have a severe problem with viewport annotation on sheet layers. My auto level dimension tool gets the dimension by using: GetSymLoc(hParm, x, y); y is displayed as the level dimension. The problem with viewport annotation on sheet layers is, that "GetSymLoc(hParm, x, y);" doesn't get the y-coordinate of the underlying design layer BUT of the sheet layer. So for example if I move my viewport an my sheet layer to rearrange my layout every level dimension will change. Is there any chance to 'access' the coordinate system of the underlying design layer from within a viewport annotation? Any help appreciated VvierA Quote Link to comment
DeSignature Posted November 13, 2013 Share Posted November 13, 2013 Maybe this article can help you out. Quote Link to comment
VvierA Posted November 13, 2013 Author Share Posted November 13, 2013 Thank you. I studied the article - very interesting but there is no obvious solution. Maybe somebody knows the answer and in the meantime I will do some tests. Maybe I find the solution. Quote Link to comment
VvierA Posted November 13, 2013 Author Share Posted November 13, 2013 Still desperate. I tested every thing I imagined but no help. I'm still looking to get the position of an PIO in relation to the internal origin or rather in relation to the underlying design layer. So that the position remains the same, even if the viewport is moved. Alternatively I am trying to get the position of a viewport in relation to the internal origin. So I could calculate the position of my PIO in relation to the internal origin. Any help? VvierA Quote Link to comment
VvierA Posted November 15, 2013 Author Share Posted November 15, 2013 Solved the problem. Checked for the position of the viewport and computed it with the position of the PIO inside the viewport. This way I get the position of the PIO relative to the internal origin (I hope - I'm not sure, but it works.). Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.