Skip to content

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.ExportDrawing or Host.ExportBom from OnMenuAction, then upload the file.
  • Custom menus: declare items in GetInfo.menus (plugin, file, or tools) and handle clicks in OnMenuAction.
  • Title-block fields: return keys from GetProjectVariables when a schematic opens and before command-line PDF export.
  • PDM hooks: veto or inspect file open and close with BeforeFileOpen and BeforeFileClose; check in from SetProjectVariables after close.
  • Open, new, save: Host.OpenProject, Host.NewProject, Host.SaveProjectAs, and Host.SaveFile for .hdf schematics.
  • Settings: ShowSettings when hasSettings is declared.

Start here

  • Quick Start

    Create, build, and deploy a plugin with one menu item, then add title-block syncing.

    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, menu clicks, and CLI PDF export.

    Workflows →

Shared concepts

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