Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

How to

  1. Go to AMPI panel

  2. Imports → Download the CSV template.

  3. Open the template file in excel.

  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 as 0

    3. status - leave as draft

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

    5. shortId - leave empty

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

  5. 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.

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

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

  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, the

  • No labels