set_component_properties
Set, add, or remove properties on Proteus parts, such as PROGRAM, CLOCK, or model parameters, then re-parse and verify connectivity before saving. Close the project in Proteus first.
Instructions
Set, add or remove properties of a part (e.g. PROGRAM, CLOCK on a microcontroller, or model parameters). Writes ROOT.DSN and ROOT.CDB; the file is re-parsed and connectivity verified before saving. Close the project in Proteus first.
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>",
"ref": "<ref>"
},
"name": "set_component_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| set | No | Properties to set, e.g. {"CLOCK":"12MHz"} | |
| path | Yes | Path to a Proteus .pdsprj project file | |
| backup | No | When overwriting, first copy the original to <file>.bak (default true) | |
| remove | No | Property names to delete | |
| outputPath | No | Write to this path instead of overwriting the project |