Hey Andreas, 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. - Nathan
_______________________________________________ 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
