-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option 'Use only selected features' to DXF export #56775
Add option 'Use only selected features' to DXF export #56775
Conversation
@gacarrillor A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
src/core/dxf/qgsdxfexport.h
Outdated
@@ -267,6 +267,24 @@ class CORE_EXPORT QgsDxfExport : public QgsLabelSink | |||
*/ | |||
QgsRectangle extent() const { return mExtent; } | |||
|
|||
/** | |||
* Use only selected features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be added to QgsDxfExport::Flag instead, and avoid the need for the new getter/setter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Much better, thanks for the suggestion.
b266436
to
92a72b4
Compare
92a72b4
to
cc34e7a
Compare
cc34e7a
to
bb8d095
Compare
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
Enhance DXF export by adding a handy option to filter selected features for each layer. It will be
false
by default.This adds to the already existing Extent filter, so that users can apply one of these two options, or even both at the same time.
The new option has also been exposed in the corresponding Processing algorithm.
Screenshots:
Funded by the QGIS user group Switzerland.