<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Many thanks. Works. Simpler than i thought :-))</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On 22. Apr. 2017, 09:12 +0200, Victor Olaya <volayaf@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">no need to use getObjectFromUri. That's for getting a layer, table, etc<br />
<br />
You will already have the int value in the Radius variable<br />
<br />
2017-04-22 8:57 GMT+02:00 <phi73@gmx.de>:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">Hello<br />
<br />
i am working on an own script what basically works.<br />
Now i would like to add an input integer and struggle here with the error<br />
message:<br />
<br />
'int' object has no attribute 'replace' See log for more details<br />
<br />
<br />
<br />
in my header i have:<br />
<br />
##Radius=number 100<br />
<br />
<br />
to read out i have added:<br />
<br />
radius = processing.getObjectFromUri(Radius)<br />
<br />
<br />
i tried some parsing etc but still i got the error message below.<br />
<br />
<br />
Somebody an idea for me?<br />
<br />
<br />
thx<br />
<br />
pat<br />
<br />
<br />
<br />
_______________________________________________<br />
Qgis-user mailing list<br />
Qgis-user@lists.osgeo.org<br />
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<br />
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user<br /></blockquote>
</blockquote>
</div>
</body>
</html>