# Optitex - PDS

## Using the Optitex PDS importer

## 1. Prepare the files using Optitex PDS

### Exporting a file with a single size

* Prepare the pieces for which the weight will be calculated with the related sections defined and possibly graded.\ <img src="/files/PhZWr2guz5zIUwQYcqYF" alt="" data-size="original">
* On the **Zones** sheet select the *Menu* button and choose **Column Settings**.\ <img src="/files/LMi1Wi0U9xX0nbQ16sZY" alt="" data-size="original">
* In the **Piece Zones Column Settings** window keep only **Name** and **Area** selected in the order shown.\ <img src="/files/OKiNlJUhCRkxIginFlpr" alt="" data-size="original">
* Using **Trace Zones** or **Build Zones**, detect the padded areas starting from the bottom and, if there are side by side sections, from left to right.
* The area values are displayed in the dedicated window in the order they were detected.\ <img src="/files/jaclLTyjIxNb8nPcgPMv" alt="" data-size="original">
* On the **Zones** sheet select the *Menu* button and choose **Excel Report**.\ <img src="/files/L1h0BMJmBkWtnqd422G8" alt="" data-size="original">
* In the next window set the file save path, check **Add report to existing file** and in **Sheet Name** enter the active size name then confirm.\ <img src="/files/VTVyYCvVzLfYhMKCCaAA" alt="" data-size="original">

The file is now ready to be imported into **Pesipiuma**.

### Exporting a file with multiple sizes

If the model is graded and you need to export files for all the sizes:

<div align="left"><img src="/files/d9tgvNsur9lJm3Hkpn65" alt=""></div>

1. On the CAD detect and export to Excel the areas for the Base Size (e.g. **M**) using the procedure described above.
2. From the CAD menu bar select **Grading** then **Size Table**.\ <img src="/files/S1B9lpB40GqkOZ7ruvmK" alt="" data-size="original">
3. Move the base size from M to S: the area data are automatically updated.
4. On the **Zones** sheet select the *Menu* button then **Excel Report** and in **Sheet Name** enter the new size **S** ensuring that **Add report to existing file** is checked, then confirm.\ <img src="/files/BaaGq3qO8ZCzwbgFsjZm" alt="" data-size="original">
5. Repeat steps **1, 2 and 3** for every required size.

At the end of the process the Excel file will contain as many sheets as the exported sizes.\ <img src="/files/fC4wgiL3CIkPCBJnYAqa" alt="" data-size="original">

Proceed with the next step: **Import the files generated by Optitex PDS**

## 2. Import the files generated by Optitex PDS into Pesipiuma

{% hint style="info" %}
The **Optitex** importer must be enabled for the workspace. If it is not enabled, it is not available in the Excel importer menu.
{% endhint %}

1. Open the project [Editor](/en/using-pesipiuma/introduction/report-editor.md).
2. Click **Import Excel** for an empty project, or **Replace Excel** for an existing Excel project.
3. In the **Excel files** area, select **Optitex v1** from the importer menu.
4. Drop the Optitex workbook into the upload area or click to select it.
5. Optionally add a report image in the **Image** area.
6. Click **Preview**.
7. In the **Excel Preview**, check the size preview and select the base size.
8. Click **Confirm** in the preview.
9. Click **Import**.

The Optitex importer expects one workbook. Supported formats are **.xls** and **.xlsx**. Each populated workbook sheet is imported as one size.

After import, Pesipiuma creates the sizes, pieces, and sections in the editor. The default coefficient is `100`, quantities are read from the piece names when present, and rounding defaults to the tenth of a gram.

At this point you can [edit](/en/using-pesipiuma/preliminary-operations/manage-pieces.md#edit-a-piece) quantities, coefficients, section notes, and rounding if needed.

For Excel reports, add or replace the [report image](/en/using-pesipiuma/create-a-report/upload-an-image.md) and [position the labels](/en/using-pesipiuma/create-a-report/place-report-labels.md) before opening the report.

### Update the area values

To update the area values for an existing Optitex Excel project, use **Replace Excel** and import the updated workbook.

{% hint style="danger" %}
Replacing Excel data rebuilds the sizes, pieces, sections, and initial label positions from the new workbook. Check the report image and label positions before opening the report.
{% endhint %}

{% hint style="warning" %}
An Excel project cannot be switched to DXF import. Create a new project if you need to use DXF/RUL files instead.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pesipiuma.app/en/using-pesipiuma/using-the-importers/optitex-pds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
