On 16-10-18 04:19, Nyall Dawson wrote:
The API uses ints instead of the direct DataDefinedProperty enums, as
the enums vary by part of code (there's separate enums for symbology,
labelling, layouts, etc)
For symbology:
layer = QgsSvgMarkerSymbolLayer(...)
...
layer.setDataDefinedProperty(
On Tue, 16 Oct 2018 at 05:06, Raymond Nijssen wrote:
>
> So now I'd like to set another expression, quite similar, but this time
> the svg-path to a QgsSvgMarkerSymbolLayer.
>
> Where can I find the name of that property? I found the
> QgsLayoutObject.PictureSource here:
>
>
So now I'd like to set another expression, quite similar, but this time
the svg-path to a QgsSvgMarkerSymbolLayer.
Where can I find the name of that property? I found the
QgsLayoutObject.PictureSource here:
Thank you Nyall! Does exactly what I need. Will add it to the python
cookbook.
Raymond
On 22-08-18 00:10, Nyall Dawson wrote:
On Wed, 22 Aug 2018 at 01:41, Raymond Nijssen wrote:
Hi devs!
I'd like my python plugin to set an expression for overriding a property
and I have no clue how to
On Wed, 22 Aug 2018 at 01:41, Raymond Nijssen wrote:
>
> Hi devs!
>
> I'd like my python plugin to set an expression for overriding a property
> and I have no clue how to do so. I expect there must be some generic way
> to set expressions.
>
> Specifically, I want to set the expression for the