[QGIS-Developer] Custom python expression question
madmanwoo at gmail.com
Fri May 5 03:42:17 PDT 2017
Parent means the parent expression itself. So in a function, you can know
what the whole expression is e.g it points to the instance of.
You can't really know what the layer because expressions are not always
layer bound and QgsFeatures don't hold a reference to the layer they are
from. Best you can do at the moment I think is to pass the layer name or
id into the custom expressions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the QGIS-Developer