Start 3rd Party App Command - Intergraph Smart 3D - Help

Intergraph Smart 3D Hangers and Supports

Language
English
Product
Intergraph Smart 3D
Subproduct
Hangers and Supports
Search by Category
Help
Smart 3D Version
11 (2016)

Starts a third-party application to add parts to a designed support that you have already placed in the model. Smart 3D makes information about the designed support available to the third-party application. The third-party application uses that information and returns a list of parts to place into the designed support and where to place them. If there are any failures, Smart 3D displays a warning message and creates an error log file, Hangers3rdPartApp_DateandTime.log, in the environment temp folder:

Define the third-party software in the HgrSup3rdPartyRule rule on the HgrRules sheet in the HS_System.xls workbook. The format of the rule is "AssemblyName, NameSpace.ClassName" where the assembly name is expected to be available on the SharedContent share defined for the Catalog. The default rule is 'Example3rdPartyPlugin, Example3rdPartyPlugin.Plugin3rdParty'.

To use this command, your administrator must set the required security setting in order for the .NET assemblies to work on a network share. If you do not do this, the following error message is displayed: "Not able to get the ThirdParty Plugin from the Catalog Rule or Default Rule." Refer to [Product Folder]\CommonApp\SOM\Doc\3DDOTNETGuide.pdf for more information. You must install the Programming Resources to access this document.

Developing New Third-Party Plug-ins

  1. Install the third-party application from which the assembly information (the part collection to be placed) is to be retrieved.

  2. The third-party plug-in must be written in .NET. The .NET assembly must reference $Smart 3D\Core\Container\Bin\Assemblies\Release\HSImportAssemblies.dll from Smart 3D. A public class in the .NET assembly must be derived from the Abstract Class "Ingr.SP3D.Support.Client.HangerProg" as defined in the HSImportAssemblies.dll.

  3. Retrieve all the design support information by using the "Ingr.SP3D.Support.Client.HgrParameters" class. This class object is passed as an argument of the HangerProg class functions. Pass this information to the third-party application and retrieve the assembly information (parts collection).

  4. Place the new plug-in (the .NET assembly) in the symbol path and run the $Smart 3D\Core\Shared\Bin\ProgIDClassIDMapTool.exe to update the SystemSymbolConfig.xml file.

  5. Update the "HgrSup3rdPartyRule" in the workbook to point to the new plug-in and bulkload the workbook into the Catalog.

  6. Start this command in the Hangers and Supports task.

Starting Third-Party Applications from Tools

The Start 3rd Party App can also be started from Tools > Custom Command. This feature can run any third-party plug-ins other than those bulk loaded "HgrSup3rdPartyRule" to the Catalog. The ProgId to run this command is "HSImportAssemblies, Ingr.SP3D.Support.Client.Start3rdParty".

Use the argument for this command in the following format:

  • With no string, runs plug-in from Catalog Rule.

    • "HgrSup3rdPartyRule"

  • String separated by a semicolon (;). The first part is a plug-in information to run, and the second part specifies run plug-in configuration.

    • Example3rdPartyPlugin, Example3rdPartyPlugin.PlugIn3rdParty; Config

    • Example3rdPartyPlugin, Example3rdPartyPlugin.PlugIn3rdParty;

  • String not separated a by semicolon (;) and contains a comma (,). The string is treated as plug-in information that runs the plug-in.

    • Example3rdPartyPlugin, Example3rdPartyPlugin.PlugIn3rdParty

  • String not separated by a semicolon (;) and does not contain a comma (,). This string indicates run plug-in configuration.

    • Config (Plug-in Configuration for Plug-in in "HgrSup3rdPartyRule" Rule)

Example Third Party Plug-in

LICAD Plug-in

For more information about the LICAD plug-in, see http://www.lisega.de/en/downloads-en/licad-software-en/