daz_set_frame_range
Set the start and end frames of the animation timeline to define the playback and export range.
Instructions
Set animation frame range (start and end).
Defines the playback range for the animation timeline. This determines which frames are included when playing or exporting animation.
Args: start_frame: First frame of animation (typically 0). end_frame: Last frame of animation.
Returns:
success: true
startFrame: new start frame
endFrame: new end frame
previousStart: previous start frame
previousEnd: previous end frame
Example: # Set 120-frame animation (4 seconds at 30fps) daz_set_frame_range(0, 119)
# Set 300-frame animation (10 seconds at 30fps)
daz_set_frame_range(0, 299)
# Set custom range starting from frame 10
daz_set_frame_range(10, 100)Note: - Frame range is inclusive (both start and end frames are included) - Default FPS in DAZ Studio is typically 30 - Duration in seconds = (end - start + 1) / fps - Example: frames 0-29 at 30fps = 1 second (30 frames)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_frame | Yes | ||
| end_frame | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||