Skip to content

Host.NewProject

Create a new manifold the same way File > New does, then save it to filePath with no Save As dialog.

When is this called?

Requires the HydroMan 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 .mnf extension.

C# Usage

var result = Host.NewProject(@"C:\Temp\new-project.mnf");

Request

Field Type Required Description
filePath string ✅ Full destination path for the new .mnf manifold. Parent folders are created if needed.

Response

Field Type Required Description
projectPath string ✅ Path the new manifold was saved to.
projectName string File name of the new manifold.

JSON

The SDK serializes these JSON bodies for you.

{
  "filePath": "C:\\Projects\\block.mnf"
}
{
  "projectPath": "C:\\Projects\\block.mnf",
  "projectName": "Valve Assembly Block A"
}

JSON Schemas: Request · Response