<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Richard,<div><br></div><div>Your code was exactly what I needed.<br></div><div><br></div><div>Thanks so much!</div><div><br></div><div>Regards,</div><div>Luiz Motta</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 6 de nov. de 2020 às 11:08, Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Luiz,<br>
<br>
We have fixed stuff to be able to use temporal stuff in pyqgis just before 3.16<br>
<br>
I wrote some docs (with exampless) in the QGIS Documentation:<br>
<br>
<a href="https://github.com/qgis/QGIS-Documentation/pull/5521" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Documentation/pull/5521</a><br>
<br>
It still fails in Travis, but in this commit is example code:<br>
<br>
<a href="https://github.com/qgis/QGIS-Documentation/blob/4ebc236d06a7ff2b6454ea5b8f94929b2b8423d0/docs/pyqgis_developer_cookbook/temporal_data.rst" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Documentation/blob/4ebc236d06a7ff2b6454ea5b8f94929b2b8423d0/docs/pyqgis_developer_cookbook/temporal_data.rst</a><br>
<br>
Hope this helps,<br>
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
<br>
<br>
On 11/6/20 2:47 PM, Luiz Motta wrote:<br>
> Hi All,<br>
>  <br>
>  I would like to change the values of the Temporal Controller Panel in my plugin.<br>
> <br>
> How do I change the Range of datetimes and the values of step and unit time using python?<br>
> <br>
>  Regards,<br>
>  Luiz Motta<br>
> <br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> <br>
<br>
</blockquote></div>
</div></div>