Active Contributor
Posts: 37
Registered: ‎04-27-2010
Message 1 of 3 (480 Views)

Command Line Switches

480 Views, 2 Replies
05-30-2013 12:35 AM

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.

Valued Mentor
Posts: 471
Registered: ‎04-11-2010
Message 2 of 3 (464 Views)

Re: Command Line Switches

05-30-2013 06:51 AM in reply to: NirantarVidyarthee



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


Gaston Nunez

Valued Mentor
Posts: 328
Registered: ‎05-12-2009
Message 3 of 3 (446 Views)

Re: Command Line Switches

05-30-2013 09:30 PM in reply to: gasty1001
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.