Create a Class Definition - Integration - Update 44 - Help - Hexagon

Integration Help

Language
English
Product
Integration
Search by Category
Help
Smart 3D Version
12.1 (2019)
Smart Construction Version
2019(7.0)
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2019 (9.0)
Smart Materials/Smart Reference Data Version
2020 (10.0)
Smart P&ID Version
9 (2019)
Smart Review Version
2020 (15.0)
Smart Engineering Manager Version
10 (2019)
Smart Interop Publisher Version
13.1 (2019 R1)
Smart Isometrics Version
7.0(2019)
Spoolgen Version
9.0(2019)
  1. Open the Editor view. For more information, see Create New Objects and Relationships in the Schema.

    Tell me more

    To open either of the editor views, on the View menu, click the type of file that you want to modify. Then click Editor or Editor2 in the Form box on the simple View dialog box or on the View tab of the advanced View dialog box. For example, to use one of the editor views to modify the active schema, click View > Schema (All).

  2. Double-click ClassDef in the Create tree.

  3. In the New Class Definition dialog box, type a name, description, and display name for the new class.

  4. Beside the Model definition box, click .

  5. In the Possible ModelForClass Values dialog box, select the model to which the new class definition belongs. For more information, see Model Definitions.

  6. Beside the Component schema box, click , and select the component schema to which the new class definition belongs.

    SHARED Tip If the component schema that you want to associate the new class with does not already exist, click Create to define the object in the schema. For more information about component schemas, see Create a Component Schema.

  7. If the new class definition represents another view of an object represented in the database by another class definition, click beside the Shared object definitions box, and select the shared object definition for this class. You can select one or multiple shared objects. For more information, see Shared Object Definitions.

    Shared objects must exist in the same model. For example, if you select ActualMaterialModel for the new class, all shared objects must also exist in the ActualMaterialModel.

  8. Beside the Class factory definition box, click , and select the class factory for the new class.

  9. Beside the Primary interface definition box, click , and select the primary interface definition for this class definition.

    SHARED Tip If the primary interface definition for the class definition does not exist, create it by clicking New in the Possible PrimaryInterfaceDef for <ClassDef> dialog box. For more information, see Create an Interface Definition.

  10. Beside the Realized interface definition box, click , and then select additional interfaces that this class realizes. You can select one or multiple interfaces. Click OK when you are done selecting interfaces.

    • Each class definition must realize at least one interface definition.

    • The software automatically creates a realizes relationship with the IObject interface, because all class definitions must realize that interface.

  11. In the New Class Definition dialog box, click OK.

See Also

Create New Schema Objects
Naming Conventions in the SmartPlant Schema
SmartPlant Schema Overview
Class Definitions