SaveFile¶
Not invoked by HydroSym in API v1. Upload from OnMenuAction after Host.ExportDrawing instead.
When is this called?
Not invoked by HydroSym in API v1. Implement vault upload from OnMenuAction after Host.ExportDrawing.
Capability: saveFile
C# Override¶
// HydroSym does not call plugin SaveFile in API v1.
// Save the open schematic with Host.SaveFile(). Upload from OnMenuAction.
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
sourcePath |
string |
✅ | Local path to the file. |
destPath |
string |
Target path in the PDM vault. | |
projectId |
string |
Project identifier. |
Response¶
| Field | Type | Required | Description |
|---|---|---|---|
savedPath |
string |
✅ | Final path where the file was saved. |
JSON¶
The SDK serializes these JSON bodies for you.