Attach to a running CarMaker program
cm_standalone_attachAttach to a running CarMaker simulation by process ID to configure a test run, start it, and store simulation quantities.
Instructions
Attach to a CarMaker simulation program that is already running, for example one started from a CarMaker Office window.
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": {
"pid": "<pid>"
},
"name": "cm_standalone_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process id from cm_standalone_servers | |
| speed | No | x real time; omit for CarMaker's maximum. Slower only if the user asks | |
| start | No | Start the run at once (needs testrun) | |
| testrun | No | Test run to configure (needed to start a run) | |
| overrides | No | Test-run keys to change in memory only, e.g. {'Vehicle': 'Car_B'} for another car. Vehicle keys (Body.mass) do not reach a standalone run: clone the vehicle | |
| quantities | No | Quantities to store | |
| stop_after_s | No | Safety stop at this simulation time in s |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||