[Qgis-user] Processing toolbox scripting

Victor Olaya volayaf at gmail.com
Sat Apr 22 00:12:08 PDT 2017


no need to use getObjectFromUri. That's for getting a layer, table, etc

You will already have the int value in the Radius variable

2017-04-22 8:57 GMT+02:00  <phi73 at gmx.de>:
> Hello
>
> i am working on an own script what basically works.
> Now i would like to add an input integer and struggle here with the error
> message:
>
> 'int' object has no attribute 'replace' See log for more details
>
>
>
> in my header i have:
>
> ##Radius=number 100
>
>
> to read out i have added:
>
> radius = processing.getObjectFromUri(Radius)
>
>
> i tried some parsing etc but still i got the error message below.
>
>
> Somebody an idea for me?
>
>
> thx
>
> pat
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list