Author Topic: angle  (Read 1517 times)

0 Members and 1 Guest are viewing this topic.

scottcd

  • Newt
  • Posts: 52
angle
« on: October 09, 2006, 06:23:36 PM »
I am getting lost trying to retrieve the angle between 2 points in degrees in the current UCS.

I have 0 degrees set to north and angles increase clockwise.

If I use (angle p1 p2) this returns the angle in radians with 0 degrees set to East and angles increasing anti-clockwise.

So far so good.

But how do I get the angle to be displayed relative to my UCS?

Is it something to do with the trans function?

Thanks for any advice..

Scott

AutoCAD Dos R9 - 2018 and BricCAD 18.2

scottcd

  • Newt
  • Posts: 52
Re: angle
« Reply #1 on: October 09, 2006, 06:48:22 PM »
I sorted it out.. it was the angtos function I needed..


Cheers

Scott
AutoCAD Dos R9 - 2018 and BricCAD 18.2

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: angle
« Reply #2 on: October 09, 2006, 08:35:09 PM »
Well it didn't take you long to sort it out. :-)

Welcome to the Swamp.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.