Render Settings

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

Bases: object

is_available()[source]

Return True if the render manager is accessible.

is_rendering()[source]

Return True if a render is currently in progress.

property resolution: dict | None

Return the render image size as {{width, height}}.

set_resolution(width, height)[source]

Set the render image size in pixels.

property output_path: str | None

Return the filename set for rendered images.

property gamma: float | None

Return the gamma correction value.

property double_sided: bool | None

Return whether polygons are rendered as double-sided.

render(camera_name=None)[source]

Render the scene to output_path.

DAZ Studio’s doRender() only writes to disk when renderImgToId is set to DzRenderOptions.DirectToFile and the camera is applied to both the render options and the active viewport before the call.

Parameters:

camera_name (str | None) – Internal name of the camera node to render from. When omitted the active viewport camera is used.

Returns:

True if the render completed without error.

Return type:

bool

render_and_wait(poll_interval=1.0, timeout=600.0)[source]

Alias for render() kept for backwards compatibility.

doRender() is synchronous in DAZ Studio so no polling is required.

has_render()[source]

Return True if there is a completed render available to save.