.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Start AutoCAD with command argument

1 REPLY 1
Reply
Message 1 of 2
Anonymous
507 Views, 1 Reply

Start AutoCAD with command argument

Hello,

I want to start AutoCAD from an external application that does not have references to AutoCAD api dlls but tell AutoCAD that he needs to run a certain command. Can this be done using only ProcessStartInfo? Also the command that I want to run is defined by an AutoCAD add-in. I was thinking about a Process start with arguments.

Thanks
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

You can specify a script to run when AutoCAD starts.

See the command line switches for acad.exe in the help.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6327872@discussion.autodesk.com...
Hello,

I want to start AutoCAD from an external application that does not have
references to AutoCAD api dlls but tell AutoCAD that he needs to run a certain
command. Can this be done using only ProcessStartInfo? Also the command that I
want to run is defined by an AutoCAD add-in. I was thinking about a Process
start with arguments.

Thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost