set_material_assignment
Assign a specific material to a named body in an ANSYS Mechanical model, updating its material properties for analysis.
Instructions
[MODIFIES MODEL] Assign a material to one uniquely named body.
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>",
"material": "<material>"
},
"name": "set_material_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | Yes | ||
| body_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||