I think I found it out.

I have to use

second(@frame_duration) * @frame_number

to get the nr of seconds from the start of the animation.

animation_datetime() seems to be something from the old time manager plugin.

Andreas

Am 13.07.20 um 23:25 schrieb Bernd Vogelgesang:
Still not clear. Do you mean the timer running in the lower right?
If so, see https://www.youtube.com/watch?v=vgDg5cRwPRw starting at 54:40
for the formula



On 13.07.20 23:14, Andreas Neumann wrote:
By "current time of an animation" I mean the current time represented
in the time slider control as a function or variable.

Thanks,

Andreas

Am 13.07.20 um 23:08 schrieb Andreas Neumann:
Hi,

In an animation (QGIS 3.14) - how do I get the current time of an
animation?

In https://www.youtube.com/watch?v=8R0TQlhdc1U&feature=youtu.be at
minute 6:26, it shows a formula involving the "animation_datetime()"
function.

But my expression editor complains, that this function is not available.

Thanks for your hints,

Andreas


_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to