e3d_set_drawlist_visual
Sets color, edges, visibility, transparency, or shallow rendering on an exact top-level E3D Drawlist member, with dry-run preview and optional Add-first behavior.
Instructions
Set color, edges, visibility, transparency, or shallow rendering on an exact top-level E3D Drawlist member, optionally requesting Add first. Use e3d_display_state to inspect a primitive's actual display owner before writing. Add does not guarantee the requested primitive becomes an independent top-level member; an ancestor resolved by the SDK is not an exact target match. Preview and execution reject a change to member transparency 100 before writing because the individual setter clamps to 99; an already-matching value can remain unchanged. They also reject a nonzero final resolved-member transparency when preserving a primitive requires restoring its transparency to 0. Otherwise zero restoration may use a public aggregate member reset plus compensation and verification of all existing primitive values; inspect transparency_reset_members and actual rollback/residual diagnostics. Success requires other member and primitive values to remain unchanged. Empty colour preserves the current colour; a nonempty value must resolve to a native colour in preview and execution before any Add or setter. Native shallow means on-top transient rendering regenerated every frame; it does not limit descendant inclusion. Drawlist membership and display settings do not prove pixel visibility. Check result.persistence separately: a failed save preserves the successful display operation and remains eligible for an optional native image receipt. Do not replay the display operation to retry persistence or a rejected Add.
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": {
"refno": "<refno>"
},
"name": "e3d_set_drawlist_visual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | ||
| edges | No | ||
| refno | Yes | ||
| colour | No | ||
| dry_run | No | ||
| shallow | No | Native on-top transient rendering: regenerated every frame without cached graphics. Does not control whether descendants are included; null preserves the current setting. | |
| visibility | No | ||
| transparency | No | ||
| capture_after | No | After a confirmed successful operation, return a native E3D image receipt. | |
| capture_width | No | ||
| capture_height | No |