Display full version of the post: Creating Macros

benny
28.03.2011, 06:06
hello,
 
hopefully someone can help me. I havent had to create macros or used macros for over a year and have forgotten some of the basics.
 
the couple of main ones want to start with are:
 
-what to have a macro where it sets to a certain Layer and then starts drawing a line.
 
-again sets to a certain Layer and then does a hatch. so what to click the button and then click in a box and the hatch i want is allready preset.
 
Hopefully that makes sense.
 
thanks.

John Connor
28.03.2011, 12:09
Macros cannot make use of dialog boxes so you will have to use the command line version of the commands you want to use.  For example, here is a macro that will start a line on a newly defined layer called "pipe".
 
^C^C-layer;make;pipe;color;red;;;line;endpoint;

benny
28.03.2011, 22:11
ok thanks for that but had figured it out again.