Hi,

how can I remove a layer variable with Python?

The following returns true, but does not work.

QgsExpressionContextUtils.layerScope(layer).removeVariable("variable_name")

Best regards
Simon

_____________________
Simon Gröchenig
GIS Support und Training
Treffling 73 - 9871 Seeboden - Österreich
Tel.: +43 699 11 22 31 22
Web: https://www.sgroe.at
E-Mail: [email protected]
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to