mdpa_set_properties
Modify a Kratos MDPA file's mesh-embedded 'Begin Properties' block: add, replace, or remove values for a property ID, or update the 'ModelPartData' header.
Instructions
Edit the mesh-embedded 'Begin Properties' block of one property id (values {"DENSITY": 7850.0} are added/replaced, 'remove' deletes names; lists are written space separated) and/or the 'ModelPartData' header. Most cases keep material data in Materials.json instead -- see materials_set_property.
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": {
"path": "<path>"
},
"name": "mdpa_set_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | No | ||
| remove | No | ||
| values | No | ||
| overwrite | No | ||
| property_id | No | ||
| model_part_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||