e3d_set_primitive_visual
Preview or update colour, transparency, edges, visibility, or shallow rendering on existing native E3D primitive entries for an explicit reference, with revision-bound execution.
Instructions
Preview or update colour, transparency, edges, visibility or shallow on existing native primitive entries for an explicit reference. Native eligibility requires non-TOPF and PRMF; all owner aliases for that database reference are verified across the complete display maps. Never Add members, create primitive entries or substitute an ancestor as the requested target. Restoring transparency to 0 may use the public aggregate setter on the SDK-resolved member, then compensate all existing primitive values and verify that member values and all other primitive values are unchanged. Inspect transparency_reset_members and setter_attempts entries prefixed member_visual_properties: for attempted aggregate resets; those fields alone do not prove success. If the resolved member must finish nonzero while a primitive needs restoration to 0, both preview and execution reject before writing. At least one nonempty colour, transparency or non-null boolean is required; omitted/empty colour and null booleans preserve their current values. Preview defaults to true and returns a revision bound to the target, requested changes, session/context and complete display state. Execute the same changes with that preview revision as expected_revision and command permission. Read actual rollback/residual diagnostics after failure; only the five observed visual values are verified, not override masks or pixel visibility. Do not automatically replay uncertain writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | No | ||
| refno | Yes | Required explicit /NAME or =database/element reference; never an implicit current element or ancestor. | |
| colour | No | Native colour name or index; omitted, empty or whitespace-only preserves the current colour. | |
| dry_run | No | ||
| shallow | No | Native on-top transient rendering; null preserves the current value. Does not control descendant inclusion. | |
| visibility | No | ||
| transparency | No | ||
| capture_after | No | After a confirmed successful operation, return a native E3D image receipt. | |
| capture_width | No | ||
| capture_height | No | ||
| expected_revision | No | Revision from the preview of the same target and visual changes; required for execution. |