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

Command Line Switches

2 REPLIES 2
Reply
Message 1 of 3
NirantarVidyarthee
715 Views, 2 Replies

Command Line Switches

How can I open AutoCAD 2011 with command line switches using VB.Net Express 2008 in an external application?

I have AutoCAD Mechanical installed and when I open it programmatically it opens with a profile which was last used interactively (<<ACADMPP>> or <<VANILLA>>). But I want to make sure that it opens with <<VANILLA>> profile only. Programmatically switching the profile does not work and my program crashes.

The program otherwise works fine on a machine where vanilla AutoCAD is installed.

Please help.

2 REPLIES 2
Message 2 of 3

Hi,

 

Process.Start should do what you want, check the options here:Process.Start

 

Gaston Nunez

Message 3 of 3
jeff
in reply to: hgasty1001

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