Creating a Product Structure from an Excel File

You can use Construction Mock-up from Document to create or enhance a product structure to initialize the digital twin of a construction, from a spreadsheet.


Before you begin:
  • If not already done, create the libraries and classes to assign to the products of the structure.
  • Create a workbook with the required spreadsheets.
    • Supported formats are xlsx and csv.
    • Required columns are
      • Parent Product
      • Instance Count
      • UniqueID
      • Object Name
      • Type: PLM Type of the object, or Document.
        Note: If the type is Document, an ENOVIA document is created and attached to the parent product. The content of the document is an empty document, named PLACEHOLDER_DOCUMENT.txt. A specific type can be used instead of the PLM type. To find the PLM type you want to create, do the following:
        • From the Tools section of the action bar, select Language Browser.
        • Click Filter and browse the packages to select the PLM type.
      • ClassLibrary: Specify the library name containing the class to set on the object. Multiple values are accepted separated by a semicolon.
      • ClassName: Specify the class name to set on the object. Multiple values are accepted separated by a semicolon.
      • Design Range: large or normal (V8Scale PLM Attribute value).
      • Has Skeleton: Specify whether there is a skeleton under the reference. Enter 1 or 0.

      If geolocation attributes are specified, the product should be geolocated, with Building.V_GL_SecondAxisCoordinate(mm) or Building.V_GL_ThirdAxisCoordinate(mm) for example. You can also add other columns to map PLM attributes.

  1. From the BIM section of the action bar, click Construction Mock-up from Document .
  2. Select a workbook (an .xlsx or .csv file).


    Search is available.

    If chosen from an HDD file, the file is stored in the database as a VPM document for future reference.

    The Tab to import list displays the spreadsheets with content to import.

  3. Select the spreadsheet to import.

    You can import only one spreadsheet at a time.

    The product structure is displayed in the filtering table of the dialog box. The File selected is displayed.

    The Construction Mock-up from Document command allows you to quickly create a product structure from an Excel file, and to directly apply a classification on the created product. In the Classification column you can preview which classification is applied and manage subclasses (classes under classes in a classification library). The diagnostics are displayed in the dialog box of the command directly, with warnings, symbols, and tooltips.



  4. In the filtering table, select the nodes to import, or clear unwanted nodes.
  5. In the tree, select the Target Root Node, that is the node under which the imported structure is created.
    • If you do not select a Target Root Node, the root in the spreadsheet is imported as a new root product. Only one root can be created in that structure.
    • If the root node in the spreadsheet has the same name as the Target Root Node, the spreadsheet root node is not created under the Target Root Node. It is matched with it.
    • If a node found in the spreadsheet already exists under the Target Root Node, it is ignored and not created anew.
  6. Enter a Prefix that is the string of characters added to the name of every created node, before the name defined in the spreadsheet.

Result: As you select elements, either a spreadsheet to import or a target root, a validity control is performed.

  • Diagnostics are displayed.
  • OK is disabled when incompatibilities are detected.
If required, Construction Mock-up from Document merges the existing product structure with a product structure found in the imported spreadsheet.
  • If the root in the spreadsheet matches the existing root, they are mapped.
  • Nodes found in the spreadsheet that do not exist in the existing structure are created.
    Note: No nodes are deleted from the Target Root Node.

Construction Mock-up from Document can

  • Attach attribute sets to newly created nodes, if any.
  • Populate individual attributes within the newly created attribute sets attached to nodes in the product structure.

When applying classes to nodes, the created products need to be saved in the database. As a consequence, when a class name is detected in the selected spreadsheet, a message informs you about the automatic save that flushes the undo or redo stack.