- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have an old 1993 lisp routine that compounds into some time saving on some of our surveyor's tasks when dimensioning but it is now broken with us turning on annotative text properties. Currently the lisp routine goes something like this:
-Current variable settings saved that will be impacted
-The osnaps are set to endpoint
-User selects corner endpoint
-The osnaps are set to perpendicular and endpoint
-The user selects perpendicular or another corner to dimension
-A dimension is created that consists of individual entities of two arrows, line, and text
-Text and arrows adjust with current drawing scale with annotative turned off.
-System variables are returned to original settings
This lisp routine is very long and seems really unnecessary from a standpoint of a lot of commands and variables it is changing. What I would like to do is make the lisp routine simply use the dimension command and change our company dimension style temporarily to have the text free floating. Osnaps still get changed to what is needed for each click, and the dimension line location gets set from point to point with no extension.
My issue I have run into with creating this is two things:
-Getting the osnaps to change in the middle of the dimension execution
-Getting the dimension line location to stay between the two osnaps by default and not extend. The easy way I found to do this is call back up the "recent input" with the "up arrow" and it puts the line location at the same location as the second extension line origin. But I do not know how to call up the "up arrow" in a lisp routine.
Any help would be appreciated. Not even sure if this is possible. If not then I guess I will just need to figure out how the old lisp routine can adopt the annotative property.
Thank you
Solved! Go to Solution.