Author Topic: I need full application name, based on its platform (for Bundle settings)  (Read 1723 times)

0 Members and 1 Guest are viewing this topic.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
I need full application name, based on its platform (look "summary" comments below). When can I get this info?
Code - C#: [Select]
  1. /// <summary>
  2. /// AutoCAD platform
  3. /// </summary>
  4. [Flags]
  5. public enum BundlePlatform {
  6.         /// <summary>
  7.         /// AutoCAD
  8.         /// </summary>
  9.         AutoCAD = 1,
  10.         /// <summary>
  11.         /// AutoCAD Electrical
  12.         /// </summary>
  13.         ACADE = 2,
  14.         /// <summary>
  15.         /// AutoCAD
  16.         /// </summary>
  17.         ACADM = 4,
  18.         /// <summary>
  19.         /// AutoCAD Architecture
  20.         /// </summary>
  21.         ADT = 8,
  22.         /// <summary>
  23.         /// AutoCAD
  24.         /// </summary>
  25.         AIP = 16,
  26.         /// <summary>
  27.         /// AutoCAD
  28.         /// </summary>
  29.         AIPRS = 32,
  30.         /// <summary>
  31.         /// AutoCAD
  32.         /// </summary>
  33.         AIPSIM = 64,
  34.         /// <summary>
  35.         /// AutoCAD
  36.         /// </summary>
  37.         AIS = 128,
  38.         /// <summary>
  39.         /// AutoCAD Civil
  40.         /// </summary>
  41.         Civil = 256,
  42.         /// <summary>
  43.         /// AutoCAD Civil3D
  44.         /// </summary>
  45.         Civil3D = 512,
  46.         /// <summary>
  47.         /// AutoCAD
  48.         /// </summary>
  49.         LDT = 1024,
  50.         /// <summary>
  51.         /// AutoCAD MEP
  52.         /// </summary>
  53.         MEP = 2048,
  54.         /// <summary>
  55.         /// AutoCAD Plant3D
  56.         /// </summary>
  57.         Plant3D = 4096,
  58.         /// <summary>
  59.         /// AutoCAD
  60.         /// </summary>
  61.         PNID = 8192,
  62.         /// <summary>
  63.         /// AutoCAD
  64.         /// </summary>
  65.         Map = 16384,
  66.         /// <summary>
  67.         /// Any vertical solution, i.e. AutoCAD*
  68.         /// </summary>
  69.         ANY = 32768 // "AutoCAD*" value
  70. }
  71.  

BlackBox

  • King Gator
  • Posts: 3770
Re: I need full application name, based on its platform (for Bundle settings)
« Reply #1 on: November 08, 2012, 05:59:04 PM »
I believe this is what you're after (see bottom):

2012 help
Quote

 
Target AutoCAD or AutoCAD-based products. Should be used when using APIs specific to one of the AutoCAD-based products that might not available in AutoCAD or other AutoCAD-based products. Multiple AutoCAd platforms can be specified by separating the values with the '|' symbol.
  NoteThe initial implementation of plug-ins cannot differentiate AutoCAD from an AutoCAD-based product, so the plug-in should support AutoCAD and all AutoCAD-based products.

2013 help - which with its retardiness I had to use 2012 help to get correct search words
Quote

Target AutoCAD or AutoCAD-based products.
 
Should be used when using APIs specific to one of the AutoCAD-based products that might not available in AutoCAD or other AutoCAD-based products. Multiple AutoCAD platforms can be specified by separating the values with the '|' symbol.
 
Valid values are: 
 
  • ACADE - AutoCAD Electrical
  • ACADM - AutoCAD Mechanical
  • ACLT - AutoCAD LT
  • ADT - Architectural Desktop
  • AIP - Inventor Professional
  • AIPRS - Inventor Professional for Routed Systems
  • AIPSIM - Inventor Professional for Simulation
  • AIS - Inventor Series
  • AOEM - AutoCAD OEM
  • AutoCAD - AutoCAD
  • AutoCAD* - All AutoCAD-based products
  • Civil - Autodesk Civil
  • Civil3D - Autodesk Civil 3D
  • LDT - Land Desktop
  • Map - AutoCAD Map 3D
  • MEP - AutoCAD MEP
  • Plant3D - AutoCAD Plant 3D
  • PNID - AutoCAD P & ID - 2D
 
"How we think determines what we do, and what we do determines what we get."

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: I need full application name, based on its platform (for Bundle settings)
« Reply #2 on: November 09, 2012, 01:05:58 AM »
@RenderMan
Thank you!

BlackBox

  • King Gator
  • Posts: 3770
Re: I need full application name, based on its platform (for Bundle settings)
« Reply #3 on: November 09, 2012, 02:05:06 AM »
@RenderMan
Thank you!

Jeff did all of the work. ;)
"How we think determines what we do, and what we do determines what we get."