Print Page | Close Window

Autocad Script

Printed From: CAD Forum
Category: EN
Forum Name: CAD - general
Forum Description: General discussion about CAD, formats, standards, management, licensing, networking, harware, other CAD applications
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=3193
Printed Date: 22.Jun.2025 at 04:18


Topic: Autocad Script
Posted By: Renan
Subject: Autocad Script
Date Posted: 16.Feb.2010 at 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.


-------------
Renan



Replies:
Posted By: CarlB
Date Posted: 17.Feb.2010 at 04:13
Are you referring to a script file (.scr) or a menu/button macro?
here's a script example:

LINE
0,0
10,2
<enter/blank line>

In a macro this would be;

^C^CLine;0,0;10,2;


Posted By: Renan
Date Posted: 17.Feb.2010 at 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.


-------------
Renan


Posted By: Vladimir Michl
Date Posted: 17.Feb.2010 at 20:05
Generally - the SCR file contains the same keystrokes you would type manually in AutoCAD.

-------------
Vladimir Michl (moderator)
ARKANCE - https://arkance.world" rel="nofollow - https://arkance.world - Autodesk Platinum Partner



Print Page | Close Window