Greetings,
I have been reading and writing a macro (my first) to use at work.
We draw 6” Tube similar to EMT conduit but with different OD and radius for our companies systems.
The individual parts of my macro work when inserted (one at a time) into the shortcut keys section of shortcut menus under the CUI.
The problem that I am having is when I string them together, only part of the string works, or it skips the first part.
What I want to do is this;
Make the ucs current to an existing face of a solid.
Draw a circle with a 3” radius.
Extrude that circle along a path (construction line).
Match the properties of the adjoining solid.
Exit the command.
Here are some of the flops
^C^C-purge;all;*;n;audit;y;-purge;all;*;n;-overkill;all;;;
^C^C_ucs;f;a;_circle;3;_extrude;p;'_matchprop;
circle;3;extrude;p;matchprop;
These work one at a time in separate macros.
^C^C_ucs f
circle;3
extrude;;p;
matchprop;
These are my latest attempts at stringing the macro together, but I haven't got the entire string to run as one yet.
^C^C_ucs f circle;3 extrude;;p; matchprop;
^C^C_ucs f ^C^Ccircle;3 ^C^Cextrude;;p; ^C^Cmatchprop;
Any thoughts or pointers?
Thanks,
Perk
Running ABS as Autocad 2007.