QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsDxfExport::DxfLayer Struct Reference

Layers and optional attribute index to split into multiple layers using attribute value as layer name. More...

#include <qgsdxfexport.h>

Public Member Functions

 DxfLayer (QgsVectorLayer *vl, int layerOutputAttributeIndex=-1)
 
QgsVectorLayerlayer () const
 Returns the layer. More...
 
int layerOutputAttributeIndex () const
 Returns the attribute index used to split into multiple layers. More...
 
QString splitLayerAttribute () const
 If the split layer attribute is set, the vector layer will be split into several dxf layers, one per each unique value. More...
 

Detailed Description

Layers and optional attribute index to split into multiple layers using attribute value as layer name.

Definition at line 71 of file qgsdxfexport.h.

Constructor & Destructor Documentation

◆ DxfLayer()

QgsDxfExport::DxfLayer::DxfLayer ( QgsVectorLayer vl,
int  layerOutputAttributeIndex = -1 
)
inline

Definition at line 73 of file qgsdxfexport.h.

Member Function Documentation

◆ layer()

QgsVectorLayer* QgsDxfExport::DxfLayer::layer ( ) const
inline

Returns the layer.

Definition at line 79 of file qgsdxfexport.h.

◆ layerOutputAttributeIndex()

int QgsDxfExport::DxfLayer::layerOutputAttributeIndex ( ) const
inline

Returns the attribute index used to split into multiple layers.

The attribute value is used for layer names.

See also
splitLayerAttribute

Definition at line 86 of file qgsdxfexport.h.

◆ splitLayerAttribute()

QString QgsDxfExport::DxfLayer::splitLayerAttribute ( ) const

If the split layer attribute is set, the vector layer will be split into several dxf layers, one per each unique value.

Since
QGIS 3.12

Definition at line 2382 of file qgsdxfexport.cpp.


The documentation for this struct was generated from the following files: