Host.NewProject¶
Create a new schematic the same way File > New does, then save it to filePath with no Save As dialog.
When is this called?
Requires the HydroSym GUI. Fails with FILE_EXISTS if the destination already exists. Does not open an existing file and does not convert an already-open untitled child. filePath must have a .hdf extension.
C# Usage¶
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
filePath |
string |
✅ | Full destination path for the new .hdf schematic. Parent folders are created if needed. |
Response¶
| Field | Type | Required | Description |
|---|---|---|---|
projectPath |
string |
✅ | Path the new schematic was saved to. |
projectName |
string |
File name of the new schematic. |
JSON¶
The SDK serializes these JSON bodies for you.