Document Selection - 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)
  1. Create and load the meta-schema, if not already done.

  2. EFServiceManager performs the following steps:

    1. Creates a container composition for the GenericDocument component schema.

    2. Creates a container for schema objects.

    3. Loads the GenericDocument component schema.

    4. Creates a container composition for document.

    5. Creates document containers (Metadata, Documents, Tombstones, and Message).

    6. For documents selected in the SmartPlant Foundation Web Client UI, calls EFClient to create and add document instances to the Documents container.

    7. If the user wants to select documents in the tool UI, EFServiceManager calls the GetUserSelections method of the IEFToolDocs interface. The argument is the documents container created in step e. The tool will create and add document instances to the Documents container.

    8. In steps f and g, the following needs to be done for each document:

      1. Create an instance for document object in the passed documents container.

      2. Get the IObject and IDocument interfaces.

      3. Populate the UID, Name, and Description (optional) properties in IObject.

      4. Populate DocTitle, DocCategory, DocType, and DocSubType (optional) in IDocument.

    9. For each document, creates and adds version and issue record objects to the metadata container.

    10. Establishes relationships between version object and IDocVersionComposition.

    11. Establishes relationships between issue record object and IIssueRecordComposition.

  3. Saves containers to XML files.