Jump to content
Developer Wiki and Function Reference Links ×

plan view rotation angle


helmut

Recommended Posts

hi.

i am trying to place a symbol using the line

SYMBOL (symbolName, px, py, #0);

in top/plan view the symbol stands head up correctly -

but in rotated top/plan view it appears rotated by the same amount the view itself is rotated.

so it seems i need to know and use the plan rotation degrees instead of simply using "0" for the insertion if the symbol should be inserted upright.

how can i get this done ?

thanks much

Link to comment

Hello Helmut,

???The first SYMBOL line will get you the rotation corrected, but the coordinates will still be those from before the Plan Rotation.

???X := -5;

???Y := 10;

???SYMBOL ('Symbol-1', X, Y, -GetPrefReal(93));

???This will get you working in Plan Rotation for both the XY grid and the angle grid.

???ScreenVecToModelVec(X, Y);

???SYMBOL ('Symbol-1', X, Y, -GetPrefReal(93));

HTH,

Raymond

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...