Skip to content

API v1

Current surface for HydroSym 2026 and HydroMan 2026 and later. Field schemas: HydroSym API Reference · HydroMan API Reference.

Plugin methods (host → plugin)

Lifecycle (both hosts): GetInfo, Initialize, Finalize.

Menu & UI (both hosts): OnMenuAction, GetMenuItemState, ShowSettings.

File hooks (both hosts, when advertised): BeforeFileOpen, BeforeFileClose, and SetProjectVariables on confirmed close.

HydroSym only: GetProjectVariables (title-block keys on open and before CLI PDF export), GetFileStatus (called on open if advertised; result unused). Plugin SaveFile is in the schema and is not invoked in API v1.

HydroMan only: SetProjectVariables arrives with an empty variables map. No plugin GetProjectVariables, GetFileStatus, or SaveFile.

Host methods (plugin → host)

HydroSym: GetCurrentProject, GetProjectVariables, GetComponentList, GetIBorders, GetBom, ExportDrawing, ExportBom (format "pdf" only), OpenProject, NewProject, SaveProjectAs, SaveFile, SetProjectVariables, ShowMessage, SetStatusBar.

HydroMan: GetCurrentProject, GetProjectVariables, OpenProject, NewProject, SaveProjectAs, SaveFile, SetProjectVariables, ExportPdf, ShowMessage, SetStatusBar. No BOM, component, or i-border access.

Known limitations in v1

  • MenuItem.icon and the toolbar / context:iborder locations are in the schema but not implemented.
  • PluginContext carries projectPath only. projectId and the selection fields are never sent.
  • GetCurrentProject.projectId is always empty.
  • HydroSym Component.id is the article code, and BomItem.unit, level, parentPosition, and properties are not populated. Hose rows are excluded from GetComponentList and GetBom.
  • Host.SetStatusBar.duration is ignored.
  • The host writes no plugin log file.

Transport: in-process native DLL, stdcall, UTF-16 JSON strings.