editor.getAngle how do i know if user click with mouse or user enter angle value?

editor.getAngle how do i know if user click with mouse or user enter angle value?

reithinger
Advocate Advocate
497 Views
2 Replies
Message 1 of 3

editor.getAngle how do i know if user click with mouse or user enter angle value?

reithinger
Advocate
Advocate

Hi,

 

I have a probleme with editor.getangle function.

How can I know if user click with mouse or user enter angle value?

Actually when the user click with mouse the angle is for me correct but when he put a value my angle must be turn of 90..

How ca I know this ?

Any Idea?

 

Thanks

0 Likes
498 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant

Hi,

Difficult to diagnose without seeing your code, but you have to pay attention that Editor.GetAngle honors the ANGBASE and ANGDIR system variable values.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

reithinger
Advocate
Advocate

Hi Gile,

thank you for your Response. I don't really unterstood what you mind with ANGDIR and ANGBASE.

I have yet unterstood where i can define the ANGBASE und now can I affirm that what I do is correct.

The only Thing that it can't explain it's that the mouse click give an other value as the angle value that I enter.

0 Likes