Skip to content

HydroMan Plugin API

A HydroMan plugin is a native DLL that HydroMan loads in-process at startup. You add menus, call Host APIs, and react to file open and close. Build it with PARO.HydroMan.PluginSDK. A HydroSym plugin DLL will not load here; the two hosts use different export names.

What you can build

  • Custom menus: declare items in GetInfo.menus (plugin, file, or tools) and handle clicks in OnMenuAction.
  • Open, new, save: Host.OpenProject, Host.NewProject, Host.SaveProjectAs, and Host.SaveFile for .mnf manifolds.
  • Production drawing PDF: Host.ExportPdf from a menu action.
  • Project variables: read and merge the manifold's "Project Variables" (UserVarList) through Host.GetProjectVariables and Host.SetProjectVariables. HydroMan does not call plugin GetProjectVariables.
  • PDM hooks: veto or inspect file open and close with BeforeFileOpen and BeforeFileClose; check in from SetProjectVariables after close.
  • Settings: ShowSettings when hasSettings is declared.

HydroMan has no BOM or component access and no command-line mode. See Workflows.

Start here

  • Quick Start

    Add a menu item that shows a message.

    Quick Start →

  • API Reference

    Field-level schemas for every plugin and Host method.

    API Reference →

  • Workflows

    When each method is called during file open, close, and menu clicks.

    Workflows →

Shared concepts

Plugin architecture, lifecycle, menus, Host API rules, and error handling are documented on the Home tab.