helmut Posted March 12, 2011 Share Posted March 12, 2011 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 Quote Link to comment
MullinRJ Posted March 13, 2011 Share Posted March 13, 2011 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 Quote Link to comment
helmut Posted March 16, 2011 Author Share Posted March 16, 2011 hi raymond, GetPrefReal(93) worked well in my case. thanks much ! best wishes from overseas 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.