×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

AutoCAD R14: Run From DOS?

AutoCAD R14: Run From DOS?

AutoCAD R14: Run From DOS?

(OP)
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

RE: AutoCAD R14: Run From DOS?

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


Mala Singh
'Dare to Imagine'

RE: AutoCAD R14: Run From DOS?

Sounds like a job for a script.  You should be able to specify the script filename on the command line.

RE: AutoCAD R14: Run From DOS?

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources