Skip to content

PARO Plugin APIs

You write a C# class library and publish it with NativeAOT as a native DLL. The host loads that one DLL at startup. Subclass HydroSymPluginBase or HydroManPluginBase, override the methods you need, and call back into the host through Host.

Each host has its own SDK package and its own DLL exports, so a HydroSym plugin will not load in HydroMan, or the reverse. Pick a host and follow its Quick Start.

How it works

graph LR
    Host[Host Application] -->|"method + JSON"| DLL[Plugin DLL]
    DLL -->|"Host.* callback"| Host

The host calls your plugin with a method name and JSON. You return JSON synchronously. During a method, call Host.* to read project data or trigger actions. See Architecture.

Choose your host

  • HydroSym

    Schematic editor (.hdf). BOM, components, i-borders, drawing and BOM PDF, title-block variables.

    Quick Start →

  • HydroMan

    Manifold design (.mnf). Open, new, save, production-drawing PDF, project variables.

    Quick Start →

Requirements

  • Windows, .NET 8 SDK, and the Visual C++ build tools for NativeAOT. Plugins are 32-bit (win-x86) because both hosts are Win32 applications.
  • HydroSym 2026 or HydroMan 2026 or later. Declare ApiVersion = 1 in GetInfo.
  • The PARO.HydroSym.PluginSDK / PARO.HydroMan.PluginSDK packages and the PARO.HydroSym.Plugin / PARO.HydroMan.Plugin project templates. PARO supplies these; they are not on nuget.org yet.

An installation loads exactly one plugin, so put all your integrations in a single DLL.

Concepts

Topic What it covers
Architecture In-process DLL, capabilities, UI thread
Plugin Lifecycle GetInfo → Initialize → operation → Finalize
Menu Integration Menus, OnMenuAction, GetMenuItemState, settings
Host API Plugin → host calls, rules, method overview
Error Handling Result codes, PluginException, HostApiException, what the user sees
Versioning apiVersion, capabilities, compatibility

Guides

Guide What it covers
PDM integration Open and close from a vault, Host.OpenProject, file hooks
ERP integration Menus, BOM upload, title-block variables

API v1 surface and known limitations →