HydroSym Plugin API¶
A HydroSym plugin is a native DLL that HydroSym loads in-process at startup. You add menus, call Host APIs, react to file open and close, and supply title-block fields. Build it with PARO.HydroSym.PluginSDK. A HydroMan plugin DLL will not load here; the two hosts use different export names.
What you can build¶
- BOM upload: read the schematic BOM with
Host.GetBom()and send it to your ERP from a menu action. - Drawing and BOM PDF: call
Host.ExportDrawingorHost.ExportBomfromOnMenuAction, then upload the file. - Custom menus: declare items in
GetInfo.menus(plugin,file, ortools) and handle clicks inOnMenuAction. - Title-block fields: return keys from
GetProjectVariableswhen a schematic opens and before command-line PDF export. - PDM hooks: veto or inspect file open and close with
BeforeFileOpenandBeforeFileClose; check in fromSetProjectVariablesafter close. - Open, new, save:
Host.OpenProject,Host.NewProject,Host.SaveProjectAs, andHost.SaveFilefor.hdfschematics. - Settings:
ShowSettingswhenhasSettingsis declared.
Start here¶
-
Quick Start
Create, build, and deploy a plugin with one menu item, then add title-block syncing.
-
API Reference
Field-level schemas for every plugin and Host method.
-
Workflows
When each method is called during file open, close, menu clicks, and CLI PDF export.
Shared concepts¶
Plugin architecture, lifecycle, menus, Host API rules, and error handling are documented on the Home tab.