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, ortools) and handle clicks inOnMenuAction. - Open, new, save:
Host.OpenProject,Host.NewProject,Host.SaveProjectAs, andHost.SaveFilefor.mnfmanifolds. - Production drawing PDF:
Host.ExportPdffrom a menu action. - Project variables: read and merge the manifold's "Project Variables" (UserVarList) through
Host.GetProjectVariablesandHost.SetProjectVariables. HydroMan does not call pluginGetProjectVariables. - PDM hooks: veto or inspect file open and close with
BeforeFileOpenandBeforeFileClose; check in fromSetProjectVariablesafter close. - Settings:
ShowSettingswhenhasSettingsis 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.
-
API Reference
Field-level schemas for every plugin and Host method.
-
Workflows
When each method is called during file open, close, and menu clicks.
Shared concepts¶
Plugin architecture, lifecycle, menus, Host API rules, and error handling are documented on the Home tab.