Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have tried -UNITS, 'UNITS, ._UNITS, turning CMDDIA to 0.
None of these turn off the UNITS dialog box.
Please help.
Solved! Go to Solution.
I have tried -UNITS, 'UNITS, ._UNITS, turning CMDDIA to 0.
None of these turn off the UNITS dialog box.
Please help.
Solved! Go to Solution.
Can I ask why you're using the "Units" command? What are you trying to accomplish? User input involved?
I may be mistaken, but it sounds like you have the right idea but wrong approach. Try:
(getvar "INSUNITS") ;returns current units
(setvar "INSUNITS" 1) ;sets current units
and
(getvar "LUPREC") ;returns current precision
(setvar "LUPREC" 2) ;sets current precision
..all of the items in the UNITS menu should be stored as system variables that will be changed. That is how you "get rid of" the menu option.
Best,
~DD
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.
Thanks everyone. I finally figured it out by using GRAPHSCR at the end of my LISP routine.