Display full version of the post: Autocad Script

Renan
16.02.2010, 12:53
Can somebody help me making a simple autocad script.
I'm having hard times to make it work.
I need example that is working.

CarlB
17.02.2010, 04:13
Are you referring to a script file (.scr) or a menu/button macro?here's a script example:LINE0,010,2<enter/blank line>In a macro this would be;^C^CLine;0,0;10,2;

Renan
17.02.2010, 06:53
Thanks a lot for the quick reply.
Yes I'm referring to (.SCR) file.
 
So, the sample you gave to me is making a line. This is wonderful.
But what is this "<enter/blank line>" for?
 
Can you show me how to make a script if I want to E-transmit drawings in a batch, together with the option of changing to a certain transmittal set-up.  It will help a lot doing my job here.
 
I dont know how to write script if the command is followed by options, like in e-transmit.
 
Thanks a lot, this site is really wonderful.

Vladimir Michl
17.02.2010, 20:05
Generally - the SCR file contains the same keystrokes you would type manually in AutoCAD.