IEFAdapter9 Interface - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM 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)

This interface has a property set method called ‘CompSchemaIContainer’. The tools will implement this property if they intend to call ‘LoadCompSchemaForAdapter’ method on IEFCommonUIApplication and IEFCommonUIApplication2 interfaces. (See SchemaCompInterfaces. IEFCommonUIApplication Interface Class and SchemaCompInterfaces. IEFCommonUIApplication2 Interface Class for more information.)

Some tools have a need to access a certain component schema when interacting with SmartPlant Schema objects. This interface allows them to add a pointer to the container of the Component Schema loaded when the tool calls the ‘LoadCompSchemaForAdapter’ method on IEFCommonUIApplication or IEFCommonUIApplication2 interface. For instance, during the Retrieve operation, the tool may need access to its own component schema. In such a case, the tool will call ‘LoadCompSchemaForAdapter’ method just before invoking the retrieve call to EFCommonUI. The tool will identify the Component Schema to be loaded. The ‘LoadCompSchemaForAdapter’ method will access the tool Adapter through IEFAdapter9 interface and pass the pointer to the Component Schema container by calling ‘CompSchemaIContainer' property.