Skip to content

Commit

Permalink
Update DXF export section (#9095)
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed May 16, 2024
2 parents 28e0b3b + b369592 commit 18debca
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 6 deletions.
27 changes: 24 additions & 3 deletions docs/user_manual/managing_data_source/create_layers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,16 @@ In the :guilabel:`DXF Export` dialog:
The :guilabel:`Select All` and :guilabel:`Deselect All` buttons
can help to quickly set the data to export.

For each layer, you can choose whether to export all the features in a
single DXF layer or rely on a field whose values are used to split the
features into layers in the DXF output.
For each layer, you can:

* Override the output layer name without altering the original project
layer. For this, click on a layer name on the dialog's layers panel and
set the output layer name.

* Choose whether to export all the features in a single DXF layer or rely on
a field whose values are used to split the features into layers in the DXF
output. In the latter case, each layer will take its name from the
corresponding field value.

Optionally, you can also choose to:

Expand All @@ -541,6 +548,20 @@ Optionally, you can also choose to:

Exporting a project to DXF dialog

Current settings defined in the :guilabel:`DXF Export` dialog may be stored in
an XML file for reusing them in other sessions. For this, the
:guilabel:`Settings` combo box has two options: :guilabel:`Load Settings from
File...` and :guilabel:`Save Settings to File...`.

.. note::

The precedence for defining the output layer name is as follows:

1. Output layer attribute (if any).
2. Overridden name (if any).
3. Layer title (if the corresponding option is checked and if a title has been set in layer properties).
4. Layer name.


.. _paste_into_layer:

Expand Down
Binary file modified docs/user_manual/managing_data_source/img/export_dxf.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 21 additions & 3 deletions docs/user_manual/processing_algs/qgis/vectorgeneral.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,25 @@ Parameters
* - **Input layers**
- ``LAYERS``
- [vector: any] [list]
- Input vector layers to export
- List of input vector layers with options associated (filled as a
:class:`QgsProcessingParameterDxfLayers
<qgis.core.QgsProcessingParameterDxfLayers>` item ---
done in GUI by pressing :guilabel:`Configure Layer...` button
for each selected layer):

**Layer** [string] (``layer``)
Full path of the input layer to export

**Output layer attribute** [number] (``attributeIndex``)
Attribute index to split the input layer using unique values

**Output layer name** [string] (``overriddenLayerName``)
Overridden layer name to be used in the exported DXF file (the
original project layer remains untouched)

**Allow data defined symbol blocks** [boolean] (``buildDataDefinedBlocks``)

**Maximum number of symbol blocks** [number] (``dataDefinedBlocksMaximumNumberOfClasses``)
* - **Symbology mode**
- ``SYMBOLOGY_MODE``
- [enumeration]
Expand Down Expand Up @@ -1061,8 +1079,8 @@ Parameters
- [boolean]

Default: False
- Name the output layer with the layer title (as set in QGIS) instead
of the layer name.
- Name the output layer with the layer title (as set in layer metadata
or QGIS Server properties) instead of the layer name.
* - **Force 2D**
- ``FORCE_2D``
- [boolean]
Expand Down

0 comments on commit 18debca

Please sign in to comment.