Host.ExportBom¶
Ask HydroSym to export the current BOM to a file.
C# Usage¶
Request¶
| Field | Type | Required | Description |
|---|---|---|---|
projectPath |
string |
Project path. If omitted, uses the currently open project. | |
format |
string |
✅ | Must be "pdf". Other values raise INVALID_ARGUMENT. |
outputPath |
string |
Full destination file path. If the path has no extension it is treated as a directory and the project base name with -BOM.pdf is used. If omitted, writes next to the project file. Missing folders are created. |
Response¶
| Field | Type | Required | Description |
|---|---|---|---|
filePath |
string |
✅ | Full path to the exported file. |
itemCount |
integer |
Number of non-hose BOM rows. Hose rows appear in the PDF but are not counted. |
JSON¶
The SDK serializes these JSON bodies for you.