Jump to content
Developer Wiki and Function Reference Links ×

Desperate - retrieving coordinates problem


VvierA

Recommended Posts

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

Link to comment

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...