view the Absolute angle with getpoints autolisp

view the Absolute angle with getpoints autolisp

cadking2k5
Advocate Advocate
1,488 Views
11 Replies
Message 1 of 12

view the Absolute angle with getpoints autolisp

cadking2k5
Advocate
Advocate

Is there a way to view the Absolute angle when you are picking a second point
(setq pt2 (getpoint pt1 "\nSpecify second point" ))

0 Likes
1,489 Views
11 Replies
Replies (11)
Message 2 of 12

john.uhden
Mentor
Mentor
I presume you would like to see the angle displayed as you are moving your pointer before you actually pick p2. Check out the use of the (grread) function. There also used to be some variable or function to display a line of text somewhere on the screen, but I have forgotten.

John F. Uhden

0 Likes
Message 3 of 12

dbroad
Mentor
Mentor

Turn dynmode on.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 4 of 12

Kent1Cooper
Consultant
Consultant

If you'd like to see that in the Status bar at the bottom [whether or not also in the middle of things with DYNMODE], in Customization for the Status Bar [the little three-horizontal-bars icon at the far bottom right in newer versions], pick Coordinates at the top so it's checked, and set the COORDS System Variable to 2.

Kent Cooper, AIA
0 Likes
Message 5 of 12

john.uhden
Mentor
Mentor
Bummer. There's no DYNMODE in 2002.

John F. Uhden

0 Likes
Message 6 of 12

cadking2k5
Advocate
Advocate

I have the dynmode on and the DYNDIVIS

0 Likes
Message 7 of 12

dbroad
Mentor
Mentor

John,

They need a retired person subscription rate.  Perhaps if you keep contributing to the newsgroup, you will be nominated as a expert elite.  That qualifies you to receive some free software.  I haven't taken advantage of that yet but with subscription rates skyrocketing this year, I might reconsider next year.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 8 of 12

dbroad
Mentor
Mentor

Experiment with your dynamic input setttings.  See this screencast.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 9 of 12

cadking2k5
Advocate
Advocate

if it works for you why didn't you show the Absolute angle in your video I didn't see it

0 Likes
Message 10 of 12

Kent1Cooper
Consultant
Consultant

@cadking2k5 wrote:

if it works for you why didn't you show the Absolute angle in your video I didn't see it


I did -- the right-most element in the tool tip at the crosshairs around the middle of the screencast and just before the end.  [If COORDS were set to 2, you would also see it in the Status Bar at the bottom, but in the screencast, that's set for just coordinates, rather than distance and angle.]

Kent Cooper, AIA
0 Likes
Message 11 of 12

cadking2k5
Advocate
Advocate

I left out a 3 letter word in the title I want to see the Absolute angle arc

0 Likes
Message 12 of 12

Kent1Cooper
Consultant
Consultant

@cadking2k5 wrote:

I left out a 3 letter word in the title I want to see the Absolute angle arc


Well, that does make all the difference.  I don't know of a way to do that [but would not claim there isn't one...].  I thought of having a routine draw a Line, during which I had hoped the Dynamic-mode elements would appear, then Erase that and take the LASTPOINT System variable value as the result of what you would have gotten from your (getpoint) function, something like this:

 

(setq pt1 (getpoint "\nFirst point: "))
(command

  "_.line" "_none" pt1 pause ""

  "_.erase" "_last" ""

)
(setq pt2 (getvar 'lastpoint))

 

but it seems Dynamic Mode doesn't operate within (command) functions.

Kent Cooper, AIA
0 Likes