QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
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.
 
int layerOutputAttributeIndex () const
 Returns the attribute index used to split into multiple layers.
 
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.
 

Detailed Description

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

Definition at line 73 of file qgsdxfexport.h.

Constructor & Destructor Documentation

◆ DxfLayer()

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

Definition at line 75 of file qgsdxfexport.h.

Member Function Documentation

◆ layer()

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

Returns the layer.

Definition at line 81 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 88 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 2465 of file qgsdxfexport.cpp.


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