SetProjectVariables¶
Push project metadata to the external system.
When is this called?
Called after a manifold file close is confirmed, only when setProjectVariables is advertised and after the native save/close prompt succeeds. Host sends projectPath and an empty variables map. Errors are warn-logged; the file still closes.
Capability: setProjectVariables
C# Override¶
public override void SetProjectVariables(SetProjectVariablesRequest request)
{
// Use request.ProjectPath. HydroSym also sends title-block fields in request.Variables.
}
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
projectPath |
string |
✅ | Full path to the manifold file. |
projectId |
string |
Project identifier, if known. | |
variables |
map |
✅ | Always an empty map from the host; use projectPath to identify the closed file. |
Response¶
This method returns no data on success.
JSON¶
The SDK serializes these JSON bodies for you.