Timeline

class dazpy.DazTimeline(client=None)[source]

Bases: object

Timeline and playback control for the active DAZ Studio scene.

A thin wrapper around the Scene playback API. For most use-cases DazScene provides the same frame / range methods; use DazTimeline when you want a focused object dedicated to animation control.

Parameters:

client (DazClient | None) – Optional DazClient. Defaults to a new client at 127.0.0.1:18811.

property frame: int | None

Current timeline frame (read/write).

property time: int | None

Current time in DAZ ticks (use frame for frame-based access).

property time_step: float | None

Number of DAZ ticks per frame (read-only).

property frame_range: dict | None

Animation range as {"start": int, "end": int} in frames (read-only).

play()[source]

Start playback.

pause()[source]

Stop / pause playback.