Importing and Exporting a Plan Structure

You can import and export a plan to and from external and internal resources.

The default format to import or export text files is .csv.

This task shows you how to:

Import from a Text File

You can generate a plan, that is, a workplan structure or a system with operations, from a text file (.csv).

  1. From the 4D Planning section of the action bar, click Import a plan from a text file.
    The Import a plan from a text file dialog box displays.
  2. Select the parent workplan for which you want to import data.
  3. Browse your local directory for the CSV file, and click Open. You can also drop the required file into the file loader.

    Important: To successfully generate a workplan structure, the CSV file must contain the following columns with the appropriate values:
    • ID: the unique identifier of an element, with a value starting at zero and increasing.
    • Type: the PLM reference of an element.
    • Outline_Level: the depth of the tree structure, with a value starting at zero and increasing. You cannot create the element if its creation violates the aggregation rule.

    Other columns are optional and can be empty:

    • Predecessors: the predecessor of an element.

      You can create constraints from predecessor to current elements. They follow the rule in Me > Preferences. The format is [ID]:[ConstraintType][Delay][Unit].

    • Constraint_MaterialNeed: the value is either zero or one. By default, the value is zero.
    • Constraint_DelayMode: the delay mode is either Min, Max or Synchro. By default, the value is Min.
    • V_PlannedStartDate/V_PlannedEndDate/V_ActualStartDate/V_ActualEndDate: the dates for tracking time spent on projects.
    • Other PLM Attributes.

    To view an example, import the following file: Workplan Structure Export CSV.

    The content of the selected file is visible through the table preview.
  4. Click OK to import.

Result: The workplan structure generates based on the information in the CSV file. You can view the structure using PPR Spreadsheet or the Gantt panel.

Export to a Text File

You can generate a text file from a plan, that is, a workplan structure or a system with operations.

  1. Select a workplan in the session.

    Important: To successfully generate the text file, the following columns must have values: ID, Type, and Outline_Level.

  2. From the 4D Planning section of the action bar, click Export a plan to a text file in the Import a plan from a text file secondary area.

Result: The new CSV file is created and saved in your download folder. It contains the same attribute values and constraints as the selected workplan.

To view an example, import the following file: Workplan Structure Export CSV.