Previous Topic: Standalone ClientNext Topic: API Components


Add-in Component or Script

Another way the API is used is as an add-in component or script. erwin DM hosts third-party add-in modules and scripts. The Active Scripting component in the API provides a mechanism for registering modules with a host tool, arranging representation in the host user interface, creating add-in menus, and invoking them on the host menu selection or event.

The add-in module is a client DLL, activated in-process.

The script is a VBScript or JScript procedure embedded in a DHTML document, activated using a menu or a model event. This Active Scripting provides hosting for web browser control and makes the API objects available through the window.external property of the DHTML object model.

You can observe changes in a model on the screen and can activate a pause to investigate the state of a model by accessing the modeling tool user interface.