Hi, Try None.
On Wed, Mar 7, 2012 at 10:28, Denis Rouzaud <denis.rouz...@gmail.com> wrote: > Hi, > > In the QgsRubberBand.addGeometry , we can specify a 0 pointer for the layer > if we don't need its the coord transformation. > > How can I do this in python? > > I tried > self.rubber.addGeometry( geom , 0 ) > > but, of course I got an "unexpected type" error... How can I express a 0 > pointer in python? > > Thanks, > > Denis > > http://qgis.org/api/classQgsRubberBand.html#a8dac7b95e31640a8808c6620930aba7 > > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > -- Alex _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer