Host.SetProjectVariables¶
Push variables into HydroMan's current manifold Project Variables (UserVarList).
When is this called?
Adds or replaces each key; existing keys not in the map are kept. An empty map is a no-op. Marks the manifold modified when a value changed, but does not save the file. Does not update variables already placed in production drawing layouts. Names and values must not contain "||", which HydroMan uses as an internal delimiter; no escaping is applied.
C# Usage¶
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
projectPath |
string |
Project path. If omitted, uses the currently open manifold. | |
variables |
map |
✅ | Key-value pairs to set (merged into UserVarList). |
Response¶
This method returns no data on success.
JSON¶
The SDK serializes these JSON bodies for you.