AutoCAD 2000/2000i/2002 Archive

AutoCAD 2000/2000i/2002 Archive

Reply
Contributor
13 Posts
0 Kudos
Registered: ‎02-23-2005
Post 1 of 3

How to Write the Code for *.scr files

272 Views, 2 Replies
02-28-2005 02:35 AM
Hellow!

I come to know about the script command this could be helpful for me if i could know how to write the code for script files. Any one can help me that will be more use if any *.scr file send to me then i will find out my answer very easily. Thanks for reading.
Thanks!
Asif
New Member
2 Posts
0 Kudos
Registered: ‎12-16-2009
Post 2 of 3

Re: How to Write the Code for *.scr files

12-16-2009 09:31 AM in reply to: asifmnm
I want to start AutoCAD withuot creating a new drawing (Drawing1.dwg).
How to creat script file called CLOSE.SCR.

_CLOSE Enter


Julia

Re: How to Write the Code for *.scr files

12-21-2009 11:09 AM in reply to: asifmnm
Try this and save it in a file called CLOSE.SCR:

(if(not(zerop(getvar"dbmod")))(command"_.CLOSE""_N")(command"_.CLOSE"))

Note: there is an empty line after the first to respresent a Return

Then at the command line, enter the SCRIPT command and select CLOSE.scr

Paul

wrote in message news:6305819@discussion.autodesk.com...
I want to start AutoCAD withuot creating a new drawing (Drawing1.dwg).
How to creat script file called CLOSE.SCR.

_CLOSE Enter


Julia
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post