PDA

View Full Version : Scripts


Kio
08-05-2005, 03:41 AM
Can someone please explain the step by step procedures in writing a script? Also creating a customized tool to call that script.

Thanks

architech
16-05-2005, 05:38 PM
To write a script ....

Begin with opening AutoCAD.
Now type in the command you wish to work with ...
You may need to add the "minus" (-) sign in front of the command, so NO dialog boxes appear.

Record/ write down ALL your responses in the command line.
For the enter key/ default response .... use ; (semi-colon) when writing down your response.

Don't write down "enter key" ... write ";". :P
The semi-colon will mean "enter key".

After writing down all your responses ... open NOTEPAD.

Now type your responses into NOTEPAD and save the file with the file extension "SCR" ..... (*.scr).

Now test it.
Run the script file to see it works.

architech
16-05-2005, 05:40 PM
Have a look here for some script examples. :P

VERYCIVILDRAFTER
16-05-2005, 08:51 PM
Have a look here for some script examples. :P

Look at what exactly? :|

:P

:lol:

architech
17-05-2005, 03:22 PM
Oops! :oops:

Forgot the link.

http://www.autocadeverything.com/phpBB/forum17.php

gatorman
30-06-2005, 06:53 PM
Is it possible to insert a "copy" command in a script? I can't figure out how to get past the "Select Base Point" part.

CarLB
01-07-2005, 01:17 AM
Yes its possible to use copy in a script. What are you trying to do? Coordinates can be supplied for points, such as "0,0".