mdpa_set_sub_model_part_data
Replace a SubModelPart's data, tables, and properties in a Kratos MDPA file. Specify new values or leave unchanged with None.
Instructions
Replace a SubModelPart's data references wholesale (each None leaves that reference unchanged): data is the 'Begin SubModelPartData' key-value pairs, tables the 'Begin SubModelPartTables' table ids (must exist as top-level Tables), properties the 'Begin SubModelPartProperties' property ids.
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": "<name>"
},
"name": "mdpa_set_sub_model_part_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| name | Yes | ||
| path | Yes | ||
| output | No | ||
| tables | No | ||
| overwrite | No | ||
| properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||