# Export DXF

## Command Description

<figure><img src="/files/SSiNKuqxdHxZJwd7ZtVX" alt=""><figcaption></figcaption></figure>

Depending on the location, this command exports either a flat pattern to a DXF file or a drawing to a DXF file. The export can be manual or automatic on the save event.

### Export from part files

From the part file, the flat pattern is exported to a *DXF* folder next to the source file. The flat pattern has already to be present in a sheet metal file, or the *Automatically create a flat pattern* option has to be checked in *Be.Smart T4I settings* (see below).

{% hint style="warning" %}
In the part file, this command is valid only for sheet metal parts.
{% endhint %}

### Export from assembly files

From the assembly file, flat patterns from all sheet metal parts can be exported to a *DXF* folder next to the source file at once. Therefore the users don't need to export every file manually, and they can be sure all the sheet metal files have been exported for production.

The flat patterns have already to be present in sheet metal files, or the 'Automatically create a flat pattern' option has to be checked in Be.Smart T4I settings (see below).

### Export from drawings

From the drawing, the DXF file can be exported to a *DXF-drawing* folder next to the source file.

## Command Location

* Part, assembly, and drawing environments

## Command Settings

### Part and assembly environments

`Be.Smart T41 -> Be.Smart T4I -> Edit settings -> Publisher -> DXF 3D`

<figure><img src="/files/gZ3nj1Z6Eqr4Mwoq6WWt" alt=""><figcaption></figcaption></figure>

1. Automatically creates flat pattern DXF(s) from active part/assembly files after saving to the Output folder.
2. Sets the output folder for DXF files. When empty, the DXF file is created in the same location as the source drawing in a DXF folder. More can be found in [Saving files using relative paths](/t4i/commands-overview/be.smart-t4i/edit-settings/publisher/saving-files-using-relative-paths.md).
3. The full path to the configuration INI file can be set here. When empty, the default configuration is used. You can use the default configuration from the installation path or create your own during manual export to DXF.
4. If checked, and the flat pattern is not present in the model, it is created automatically, and then the publishing can continue.

### Drawing environment

`Be.Smart T41 -> Be.Smart T4I -> Edit settings -> Publisher -> DXF 2D`

<figure><img src="/files/A69P1SFkIJ8Ra3ZmhKg4" alt=""><figcaption></figcaption></figure>

1. Automatically creates DXF from active drawing after saving to the Output folder.
2. Set output folder for DXF files. When empty, DXF is created in the same location as the source drawing in a DXF-drawing folder. More can be found in [Saving files using relative paths](/t4i/commands-overview/be.smart-t4i/edit-settings/publisher/saving-files-using-relative-paths.md).
3. The full path to the configuration INI file can be set here. When empty, the default configuration is used. You can use the default configuration from the installation path or create your own during manual export to DXF.

{% hint style="warning" %}
For larger files, the publishing process may take a long time to complete. In such cases, it is not recommended to use automatic on-save publishing. To speed up your workflows, disable the on-save publishing in settings and use manual publishing instead.
{% endhint %}

## Workflow Overview

1. Run the command or save a document.


---

# 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.besmart.software/t4i/commands-overview/publish/export-dxf.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.
