You have developed a custom Industry Data Modeling Plug-in in AutoCAD Map 3D and if you are wondering how to restrict the usage to only in AutoCAD Map 3D, here is the answer :
A typical tbp file looks like the following where in you define the plugins execution target.
<PlugIn>
<Default
AssemblyName="MyCompany.Mapping.MyTest.dll"
Namespace="MyCompany.Mapping.MyTest"
Priority="100"
ExecutionTargetDesktop="True"
ExecutionTargetWeb="False"
ExecutionTargetAdmin="False"
DMCode=""
Company="MyCompany"
Author="Partha Sarkar"
/>
<ApplicationPlugIn ClassName="MyTestApplicationPlugin"/>/>
</PlugIn>
In this post let me explain you the various options of the execution targets and when we should use them -
ExecutionTargetDesktop : used for “AutoCAD Map3D Client” (Map3D + Industry Model Data Editor + Infrastructure Administrator + IMBatch.exe)
ExecutionTargetWeb : used for Industry Data Model Extensions (Web)
Most plug-ins only use these two, but some need the more specific properties like the following:
ExecutionTargetClient * : used specifically for AutoCAD Map 3D
ExecutionTargetStandalone : used specifically for Industry Model Data Editor
ExecutionTargetAdmin : used specifically for Industry Data Model Administrator / Infrastructure Administrator.
ExecutionTargetBatch : used specifically for IMBatch.exe / Industry Data Model Batch applications.
* You can use ‘ExecutionTargetClient=”true”’ for plugins that require graphical data interaction.