Define a custom interface to expose the new property definition in the publish schema - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Before you can define the custom property definition that will use the new enumerated list you just defined, you must first define an interface that will expose the property definition.

  1. In the tree view, right-click InterfaceDef, and click Create New InterfaceDef.

  2. For the new interface definition, provide a name, such as IAcmePublishedItem.

  3. Click the browse button beside the Realized by class box, and select all the publish class definitions that represent objects that will use the new property. For this example, the property will be used by instruments, so the class definition MTRInstrument is required.

  4. Click the browse button beside the Implied by interface definitions box, and select IMTRInstrument.

  5. Click the browse button beside the Implies interface definitions box, and select IObject.

  6. Click the browse button beside the Property category box.

  7. Select Miscellaneous in the Unused enumerated values list, click Add to move it to the Used enumerated values list, and click OK.

    You can also provide additional details about the new interface definition, such as description and display name, as necessary.

  8. Click OK.