Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to

  1. Go to AMPI panel

  2. Imports → Download the CSV template.

  3. Image Modified

    Open the template file in excel.

    Image Modified
  4. Fill in the rows in the following manner:

    1. branch - select a branch configured in the platform you are uploading to. sparepart can be used as it is by default available.

    2. branchIsAdvanced - leave

...

    1. as 0

    2. status - leave

...

    1. as draft

    2. author - the person’s login email that will be the designated as the part’s author

    3. shortId - leave empty

    4. stlFile - fill in here the file name + extension.

      Image Modified
  1. Delete columns beginning by “scores.” - e.g. scores.econ or scores.tech, etc.

    1. branch, branchIsAdvanced, status, author must not be empty.

    2. 3D Files: For each row, the stlFile column contains the name+extension of the file to append - example.stl, example2.catpart, example3.sldprt, etc.

      1. if you upload an .stl which is unitless, you need to specify a column named “unit” that has either “mm” or “inch” filled in for that row.

    3. Attachments: Fill in the values.standard.attachments with the full name + extension of the file: ex: drawing.tiff, drawing2.pdf, etc

Info

Note: If you are nesting the drawings/3d models inside a folder, the import.csv must contain the path. Example: My zipped folder called import has within it:

  • The import.csv.

  • A folder called 3DModels with the files inside.

→ Each row in the import.csv will have the following path mentionned in the stlFile column: 3DModels/example1.catpart, 3DModels/exampl2.sldpart, etc.

  1. It is required to save the file under the name “import.csv” and in the csv format.

  2. Select the import.csv and 3d files you wish to import > send to > compressed (zipped) folder

    Image Modified
  3. The zip file structure then becomes:

...

9. Go back to the platform and select Imports > New import. The dialog box for the import file selection opens. Click on select file. This opens another dialog box in order to select the folder/file you wish to upload.

...

10. If only CSV files show, click on all files, select your folder and start the upload.

...

  1. Click on start to begin the upload

...

The import prompt - a first line of defense against errors

The import dialog box is capable of detecting incorrect formatting at a core level. It will not evaluate if the part data is correctly formatted (this comes in a second step). However, it will ensure that the main parameters used for the upload process are correctly formatted.

...

Examples of errors during import:

  • properties are unknown

...

  • the file is incorrectly formatted

...

In the case of the latter, this is generally due to the csv format in excel being regional. The csv that gives the above error is formatted as:

...

It is important to save the file correctly splitting the columns :

...

Steps during the upload

The steps during the upload process are:

  • Validation pending

  • Validation Success

  • Import Success

  • In case of failure:

    • Validation Error

Validation Pending

Immediately after selecting the file to import, the platform will start validation. This process ensures that every row and therefore part being uploaded is correctly configured.

...

Validation Success

In the case that the validation is successful, the import line will update from pending to success.

...

The steps that follows is:

Validation Success

...

This means that the file is correctly configured and no further action is required.

In case of error during validation, the user receives:

Validation Error

...

This state of error represents a correctly configured file, as the platform can locate all the necessary data within it. However the data in the file itself can be incorrectly formatted. Such as having too many decimals or incorrect wording inside a part property.

By hovering on the download button enables to download the validation report. In the validation report can be found the rows where an error occurs. Fixing these rows in the original import file and re-uploading the file will result in a successful import.

...