Set Body Color
set_colorAssign a flat RGB color to a body for visual distinction before rendering, creating or reusing a design-local appearance to identify parts clearly.
Instructions
Assign a flat RGB color to a body (creates/reuses a design-local appearance). Useful for visually distinguishing parts before render_view.
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": {
"body_name": "<body_name>",
"red": "<red>",
"green": "<green>",
"blue": "<blue>"
},
"name": "set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| red | Yes | ||
| blue | Yes | ||
| green | Yes | ||
| opacity | No | 1.0 = opaque, 0.0 = invisible | |
| body_name | Yes | Body name |