Need help modify slope lisp

Need help modify slope lisp

Anonymous
Not applicable
395 Views
3 Replies
Message 1 of 4

Need help modify slope lisp

Anonymous
Not applicable

I have this very useful lisp for annotating slope of line, but this lisp removes all OSNAP settings so only the endpoint can be used.

Is it possible to remove that option in this lisp? so it does not reset the OSNAP settings .. or make it so after done using SLOPE lisp, OSNAP is back to how I have set up before..

 

 

 

0 Likes
Accepted solutions (2)
396 Views
3 Replies
Replies (3)
Message 2 of 4

Kent1Cooper
Consultant
Consultant
Accepted solution

You can either "comment out," by placing a semicolon at the beginning of, these two lines:

 

; (setvar "osmode" 1)

 

; (setvar "osmode" rem)

 

or remove those lines entirely.

 

I don't see anything that sets that 'rem' variable anyway, unless this is an extract from a larger context.

Kent Cooper, AIA
Message 3 of 4

tcorey
Mentor
Mentor
Accepted solution

The attached will store your osmode setting and put it back at the end.

 

 



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Platinum Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 4 of 4

Anonymous
Not applicable

Thank you!

0 Likes