Host.GetProjectVariables¶
Read the project variables as HydroSym currently has them.
When is this called?
Returns ERROR with code NO_PROJECT_OPEN when no matching schematic is open. If projectPath is omitted, uses the active schematic. UI "Project Properties" maps to the variables field.
C# Usage¶
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
projectPath |
string |
Project path. If omitted, uses the currently open project. |
Response¶
| Field | Type | Required | Description |
|---|---|---|---|
variables |
map |
✅ | Current project variable values. |
JSON¶
The SDK serializes these JSON bodies for you.