I'd like to be able to automate the following task:
Find the intersection of two perpendicular lines and break the selected line to a point 3 inches offset in both directions from the intersection.
If you're looking to do a task repeatedly, then you need to read up on making custom commands. Try your tasks as a series of commands typed on the command line. If that works, then create a custom command that mimics the series of commands.
For more complex tasks, you may want to look into DIESEL...
My approach has always been, if it's a repetitive task, it's worthwhile to spend a bit of time coming up with a way of "automating" it. You gain back the time you invested within the first week (or day even) of using it, and after that it's all gravy as far as improved productivity goes. One tool at a time and eventually you have an entire suite of improvements 🙂
Agreed, but only if the 'automation' actually saves clicks and typing (both selecting the activation buttons and the clicks on screen to make it all work). OP's request, without much research, seems to have many approches but few savings:
"Find the intersection of two perpendicular lines and break the selected line to a point 3 inches offset in both directions from the intersection."
Dean try this four (4) click macro. ^C^C_Circle;APPINT;\3;Trim;L;;\Erase;P;;;
First click starts the macro
Second and Third click the user selects the two perpendicular lines
Fourth click the user selects the line inside the circle to be trimmed (broken)
or this three (3) click macro. ^C^C_Circle;INT;\3;Trim;L;;\Erase;P;;;
First click starts the macro
Second click user selects the intersection of the two perpendicular lines
Third click the user selects the line inside the circle to be trimmed (broken)
Attached is a button icon for your use
Sometimes I have to bait this forum to get more active participation from others 🙂 nice macros, hopefully the OP will enjoy using them.
18 to go!
Will you have it by Monday?
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I did not notice until just now: maybe I should slow down and enjoy the 18, err, now 17 posts 🙂
I figured the balloon drop would be a giveaway.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
One click but may need adapting to work with inches. the macro repeats untill you press escape key, and you do need to use escape? if you break out of the command another way it will leave the temporary layer 'trimint' and cause problems the next time you issue the command. Anyway nuf said it works in 2012LT adapt it to suit.
*^C^C-la;m;trimint;s;trimint;;c;int;\3;select;l;;trim;l;;f;$M=$(-,$(index,0,$(getvar,lastpoint)),5),$M=$(-,$(index,1,$(getvar,lastpoint)),5);$M=$(+,$(index,0,$(getvar,lastpoint)),5),$M=$(+,$(index,1,$(getvar,lastpoint)),5);;;layerp;laydel;n;trimint;;y;