lisa.manley
2017-07-18, 08:52 PM
I have been trying to customize a few things in AutoCAD LT 2017 to streamline our drawing process and need a little help with some macros. Last time I created macros I was working in a full version of AutoCAD, not LT, and it was so much more user friendly...
Main goal: create a macro that will 1)set current layer to "LABELS" 2)set text height to 2" 3) place a text label with a number series such as "P#1", "P#2", "P#3", etc. and 4)a secondary label (new/separate macro?) in series such as "P#1-1", "P#1-2", "P#2-1", etc.
So far I have gotten the current layer and text height to work but can't figure out the actual numbering. I found this thread http://forums.augi.com/showthread.php?66337-Auto-Increment-Numbering-for-AutoCAD-LT but the macro listed doesn't do anything when copied/pasted into LT 2017. I do not have a lot of experience with DIESEL and don't understand how to get the variables to work.
What I have so far:
*^c^c_-layer;s;labels;;_text;\2;;P#1
I tried using that in conjunction with the numbering macros shown in the linked thread but can't seem to get it to work.
Main goal: create a macro that will 1)set current layer to "LABELS" 2)set text height to 2" 3) place a text label with a number series such as "P#1", "P#2", "P#3", etc. and 4)a secondary label (new/separate macro?) in series such as "P#1-1", "P#1-2", "P#2-1", etc.
So far I have gotten the current layer and text height to work but can't figure out the actual numbering. I found this thread http://forums.augi.com/showthread.php?66337-Auto-Increment-Numbering-for-AutoCAD-LT but the macro listed doesn't do anything when copied/pasted into LT 2017. I do not have a lot of experience with DIESEL and don't understand how to get the variables to work.
What I have so far:
*^c^c_-layer;s;labels;;_text;\2;;P#1
I tried using that in conjunction with the numbering macros shown in the linked thread but can't seem to get it to work.