Create a new interface to expose the custom property definition in the authoring 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)
  1. In the SmartPlant Schema Editor, confirm that the new XML file for storing your authoring schema objects is the active schema. In our example, this file was named SCHEMA_AcmeNonIntegration.xml.

    SHARED Tip In the Schema Editor, the name of the active file appears on the left side of the title bar.

  2. Click View > Schema (All), and click OK.

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

  4. For the new interface definition, provide a name, such as IAcmeAuthoredItem.

  5. Click the browse button beside the Realized by class box, and select all the authoring 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 MTRAuthInstrument should be selected.

  6. Click the browse button beside the Implied by interface definitions box, and select IMTRAuthInstrument.

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

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

  8. Click OK.