ISPCLCustomPublish Interface - Integration - Update 46 - Help - Hexagon

SmartPlant Integration .NET Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

A publishing tool optionally can implement the ISPCLCustomPublish interface to do additional processing of data before SmartPlant Client publishes the data to SmartPlant Foundation.

Specifying the Implementation

SmartPlant Client looks in registry values for the information that it needs to use an implementation of ISPCLCustomPublish. The registry values should be of type REG_SZ and under key "HKEY_LOCAL_MACHINE\SOFTWARE\Intergraph\Intergraph SmartPlant Client.NET\CustomPlugIns\<tool ID>", where <tool ID> is the tool ID passed to SP Common UI’s Connect method. If the registry values are empty or do not exist, SP Client ignores them.

Name

Description

SPPublishPlugInAssemblyPath

Full path of assembly file containing the implementation class.

SPPublishPlugInAssemblyTypeName

Full type name for implementation class.

If there is a usable value for a custom DLL in SPPublishPlugInAssemblyPath in the registry, SmartPlant Client requires that the DLL implement both ISPCLCustomPublish and ISPCLCustomProjectPublish, though they can be implemented with stubs.