Importing Functional or Logical Content from XML

You can import functional and logical content from an XML file to the database.

You can import the following elements:

  • Functional entities
  • Logical entities
  • Sequence diagram views
  • Hybrid sequence diagram views
  • PLM parameters attached to functional and logical entities

About root comparison rules:

When you launch an import, the roots reference components contained in the XML file are compared to the saved references or to the references opened in session according to the following root comparison rules:

  • If a root reference is opened in session, the imported root is compared to it.
  • If a root reference is not opened in session, the imported root is compared to the latest revision of the saved reference.

  1. In Add > Import > Systems Architecture, click From XML.
  2. In the Import XML dialog box, type:
    1. The Name and Path of the XML file you want to import
    2. Optional: The Path of the images folder, if any
  3. In the Reference revisioning default choice section, select one of the following options:
    • Update current revision: only updates content located in database or in session.
      Note: By default, this option is selected.
    • Create new revision: replaces content, located in database or in session, by a new major revision.
      Note: A function or logical struture cannot be imported using Create new revision if more than one revisions of this strucure is opened in session.
    • Add new content: creates new content.
      Note: If there is existing content in database or in session, the existing content is duplicated (not revisioned).
  4. Optional: If you select Add new content, type the Duplication String.
    The Duplication String is appended to every imported references.
  5. To create all data in session and save it, select the Save all objects after import option.
  6. Click:
    • Full Update: to launch the import of content.
    • Partial Update: to select the specific content you want to import.

      The Import Comparison Report dialog box appears to let you select the modifications to be updated.

      Important: The Partial Update command is not available if you select:
      • A sequence diagram to import
      • The Add new content option

The XML model is imported to session and saved if the Save all objects after import option is selected.

In the .XML file, if the PLM_ExternalID attribute is not defined by the user, it will be automatically computed by the identification opening ID for new created objects. In this case, the V_Name attribute has to be defined by the user for the displayed name.