Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoCAD R14: Run From DOS?

Status
Not open for further replies.

WillOMalley

Computer
Mar 10, 2004
18
Hello,
Well I got pushed into a new project yesterday and found
my self needing some help.. "Good thing I know where to go"

So here is what I need to do:
Launch AutoCAD R14 from DOS passing it a Drawing to open
once open I need to Insert a Block of text into the drawing
"Users Name" and the DateTime

Then I need to save the Drawing with the change and close
AutoCAD.

I will be using SQL Server 2000 to run a DOS batch file
so I can Open AutoCAD

Here are my problems:
1) Has to be run on our Network
2) CAN NOT modify the acadr14.lsp file
I really am stuck here as this is the only way
I know of to load a .dvb file..
still not sure how to make the macro
load when AutoCAD starts..

Any help would be great as I am sure that I have my work
cut out for me

Thanks again
Will
 
Replies continue below

Recommended for you

I was about to suggest yu should post this as a new thread.
All the best!


Mala Singh
'Dare to Imagine'
 
Sounds like a job for a script. You should be able to specify the script filename on the command line.
 
Ok,
I got Autocad to run from DOS
Also got the code written to stamp the drawing
with the Date time and users name.

Here is my new problem
How do I overwrite the text in the Block I created?
Do I need to delete the Block and make a new one?

Any help on this would be great
Thanks
Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor