Hi,
Thanks, Ismail and Nyall!
Andreas
On 2017-11-24 08:23, Nyall Dawson wrote:
> On 22 November 2017 at 21:21, Andreas Neumann wrote:
>
>> Hi,
>>
>> Is it possible to query the value of a QGIS variable in Python code? E.g.
>> I'd like to find out in my code the full
On 22 November 2017 at 21:21, Andreas Neumann wrote:
> Hi,
>
> Is it possible to query the value of a QGIS variable in Python code? E.g.
> I'd like to find out in my code the full storage path to the folder of my
> current QGIS project, which would be available in the
Hi Andreas
If you mean QGIS variable, or project variable, or layer variable, you can
do (read, set, delete) it by using
https://qgis.org/api/classQgsExpressionContextUtils.html.
Thanks
On Wed, Nov 22, 2017 at 6:21 PM, Andreas Neumann
wrote:
> Hi,
>
> Is it possible to
Hi,
Is it possible to query the value of a QGIS variable in Python code?
E.g. I'd like to find out in my code the full storage path to the folder
of my current QGIS project, which would be available in the
@project_folder variable.
Are variable values accessible through the Python API?