daz_clear_animation
Remove all keyframes from a property in DAZ Studio in one operation. Clears animation data to return the property to a static state.
Instructions
Remove all keyframes from a property.
Clears all animation data from a property, returning it to a static (non-animated) state. More efficient than removing keyframes individually.
Args: node_label: Display label of the node. property_name: Property label or internal name.
Returns:
success: true
node: node label
property: property label
removed: number of keyframes removed
Example: # Clear animation from a property result = daz_clear_animation("Genesis 9", "XTranslate") print(f"Removed {result['removed']} keyframes")
# Clear all transform animations
transforms = ["XTranslate", "YTranslate", "ZTranslate",
"XRotate", "YRotate", "ZRotate"]
for prop in transforms:
daz_clear_animation("Genesis 9", prop)Note: - Removes all keyframes in a single operation - More efficient than calling daz_remove_keyframe() repeatedly - Property retains its current value after clearing - Returns count of keyframes that were removed
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_label": "<node_label>",
"property_name": "<property_name>"
},
"name": "daz_clear_animation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_label | Yes | ||
| property_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||