AutoCAD P&ID General Discussion

AutoCAD P&ID General Discussion

Reply
New Member
dan.mccuaig
Posts: 2
Registered: ‎04-19-2013
Message 1 of 2 (221 Views)

Determine which AutoCAD product is running

221 Views, 1 Replies
04-19-2013 02:01 PM

Is there a clean way of determining which AutoCAD product is running?  AutoCAD P&ID installs into the plain AutoCAD folder.  So how do we tell if the user is running plain AutoCAD or AutoCAD P&ID?

 

Currently this is what I am using:

 

foreach (AssemblyasbinAppDomain.CurrentDomain.GetAssemblies())

{

  if (asb.FullName.StartsWith("PnPProjectManagerMgd.dll")) break;

  return false;

}

 

I thought something in HostApplicationServices or system variable would indicate which product was running.

 

Thanks

 

New Member
dan.mccuaig
Posts: 2
Registered: ‎04-19-2013
Message 2 of 2 (219 Views)

Re: Determine which AutoCAD product is running

04-19-2013 02:16 PM in reply to: dan.mccuaig
Announcements
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 to get help installing your software.

New AutoCAD P&ID Category!

The AutoCAD P&ID forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.