Table of Contents

Method Initialize

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

Initialize(CadPluginHost)

Runs once, when the plugin is loaded, before any of its commands: the place to call the host's Add methods. What it adds is read when it returns. An exception it throws keeps the plugin's commands and drops everything it added, with a line in Problems.

void Initialize(CadPluginHost host)

Parameters

host CadPluginHost

What the plugin adds to; it takes additions only until this method returns.