Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Constrain line direction after pcik point

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
193 Views, 4 Replies

Constrain line direction after pcik point

I am looking to create a utility to move a selection set of objects a specified distance in certain directions. I am
wondering if there is a way to constrain a rubber banded line from any pick point to allow certain specified options -
for example 30, 45, 60 and 90 degrees.

It would be good if it could 'snap' to the various optional angles - is this only possible using grread and subsequent
programming, or might there be another way of achieving this intent.

Just looking for a hint here if possible, thanks.

Gordon.
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Take a look at POLARADDANG system variable

~'J'~
Message 3 of 5
Anonymous
in reply to: Anonymous

Right - I see that I could perhaps use the polar setting in the routine - just that I normally keep ortho on almost all
the time and that sets polar off. I guess I could toggle it for the duration of the routine. Thanks,
--
Gordon.


wrote in message news:5762695@discussion.autodesk.com...
Take a look at POLARADDANG system variable

~'J'~
Message 4 of 5
Anonymous
in reply to: Anonymous

Ah, forgot to say about you
need to set other system variables
e.g.
(setvar "polarmode" 6)
(setvar "polarang" (/ pi 6))
(setvar "polaraddang" "30;60;90")

~'J'~
Message 5 of 5
Anonymous
in reply to: Anonymous

Yes, thanks Fatty, I did manage to work out some of that stuff and wrote my little routine - I have posted under a new
subject above ('Preselect objects for routine') as I need to make a small adjustment, but for the life of me can't
recall how to do it.
--
Gordon


wrote in message news:5762757@discussion.autodesk.com...
Ah, forgot to say about you
need to set other system variables
e.g.
(setvar "polarmode" 6)
(setvar "polarang" (/ pi 6))
(setvar "polaraddang" "30;60;90")

~'J'~

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost