Add a new property to an existing hierarchy - 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)

The core delivered progress model includes the sample workpack hierarchy (ISPFPrgWorkpackH1) which has the properties Contract, Area, and Unit.

The following example shows how to extend this hierarchy so that it has the properties Contract, Area, Unit, and Discipline.

  1. Create a new property for discipline (for example, SPFPrgHierarchyDiscipline).

  2. Create a new exposes relationship to expose the discipline property on the ISPFPrgWorkpackH1 interface.

  3. Ensure that the properties are in the correct order by setting the order value property on the exposes relationship (for example C=10, A=20, U=30, D=40).

  4. If the object (discipline) class definition does not exist, it must be created, including all its realized relationships.

  5. Create the relationship definitions (if they do not already exist) between the discipline property and each object that is to be progressable.

    An example relation definition could have:

    UID1 = ISPFDesignDocMaster

    UID2 = ISPFDiscipline

  6. Ensure that the new discipline property has a mapping relationship to each of the relationship definitions or properties from where it will get its values.

  7. Do this for each class definition that is to be progressable. For example, if design documents and tags are both to be registered, then the discipline property needs to be mapped to the relationship between design documents and discipline, and tag and discipline.