QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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, bool buildDDBlocks=false, int ddBlocksMaxNumberOfClasses=-1)
 
bool buildDataDefinedBlocks () const
 Flag if data defined point block symbols should be created. More...
 
int dataDefinedBlocksMaximumNumberOfClasses () const
 Returns the maximum number of data defined symbol classes for which blocks are created. More...
 
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 74 of file qgsdxfexport.h.

Constructor & Destructor Documentation

◆ DxfLayer()

QgsDxfExport::DxfLayer::DxfLayer ( QgsVectorLayer vl,
int  layerOutputAttributeIndex = -1,
bool  buildDDBlocks = false,
int  ddBlocksMaxNumberOfClasses = -1 
)
inline

Definition at line 76 of file qgsdxfexport.h.

Member Function Documentation

◆ buildDataDefinedBlocks()

bool QgsDxfExport::DxfLayer::buildDataDefinedBlocks ( ) const
inline

Flag if data defined point block symbols should be created.

Default is false

Returns
True if data defined point block symbols should be created
Since
QGIS 3.38

Definition at line 106 of file qgsdxfexport.h.

◆ dataDefinedBlocksMaximumNumberOfClasses()

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

Returns the maximum number of data defined symbol classes for which blocks are created.

Returns -1 if there is no such limitation

Returns
Since
QGIS 3.38

Definition at line 113 of file qgsdxfexport.h.

◆ layer()

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

Returns the layer.

Definition at line 84 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 91 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 2565 of file qgsdxfexport.cpp.


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