Create the Plug-in - Intergraph Smart P&ID - 10 - Help - Intergraph

Intergraph Smart P&ID Help

Language
English
Product
Intergraph Smart P&ID
Search by Category
Help
Smart P&ID Version
10
Smart Engineering Manager Version
11
SmartSketch Version
10.0(2018)
  1. Register the EFCustomProcess.tlb using the RegTLib command.

  2. In the Windows Registry Editor, navigate to the appropriate registry key.

    • On a 64-bit computer, navigate to the key: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Intergraph\SPF Framework Client\Current Version].

    • On a 32-bit computer, navigate to the key: [HKEY_LOCAL_MACHINE\SOFTWARE\Intergraph\SPF Framework Client\Current Version].

  3. Add a new string value with the name: CustomPublishDLLProgID.

  4. Set the value data to the <ProgID> of the CustomPublishDLL.

  5. Write the custom plug-in .dll as follows:

    1. Add the following required references to the software:

      • EFCustomProcess.tlb

      • SchemaComponent.tlb (C:\Program Files (x86)\Common Files\Intergraph\Schema Component\SchemaComponent.tlb)

      • CompSchemaCont.dll ( C:\Program Files (x86)\Common Files\Intergraph\Schema Component\CompSchemaCont.dll)

    2. Create a dll that implements all the properties and methods declared in IEFCustomPublish interface, which is provided in EFCustomProcess.tlb.