daz_get_render_settings
Retrieve current render configuration from DAZ Studio, including render target, output path, aspect ratio, and render camera. Verify settings before batch rendering.
Instructions
Get current render settings and configuration.
Returns information about the current render configuration, including render target, output path, aspect ratio, and render camera.
Returns:
renderToFile: true if rendering to file, false if to viewport
outputPath: current output file path (or null)
currentCamera: label of current render camera (or null for viewport camera)
aspectRatio: aspect ratio value
aspectWidth: aspect width component
aspectHeight: aspect height component
Example: # Check render settings settings = daz_get_render_settings() print(f"Render camera: {settings['currentCamera']}") print(f"Output: {settings['outputPath']}") print(f"Aspect: {settings['aspectWidth']}x{settings['aspectHeight']}")
# Verify render is configured correctly before batch render
settings = daz_get_render_settings()
if not settings['renderToFile']:
print("Warning: Render is configured for viewport, not file output")Note: - Aspect ratio determines render dimensions relative to each other - Pixel dimensions cannot be set reliably via DazScript - currentCamera may be null if using active viewport camera
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||