Purpose

This sample project contains source code that shows how to use the Innovator CSharp API. It is exemplified how to implement the login to a model of a running Innovator repository server and how to get data from the model. The program 'Sample.NET.exe' displays on the console the connection and login data, as well as the name and the attributes of all classes with stereotype 'domainClass' that exist in the connected model.

Configuration and Build Instructions

Open 'Sample.NET.sln' with Microsoft Visual Studio 2005.

Please check in project Sample.NET the reference to the binary file 'MID.Innovator.API.dll' (Innovator CSharp API). Note that after the installation of Innovator 2008, the binary file 'MID.Innovator.API.dll' can be found under 'Innovator-Installation-Directory\inoexe'. Usually it is necessary to delete the old reference and include a new one to the binary file 'MID.Innovator.API.dll'.

The settings for the login to a running Innovator repository server can be found and adapted in the xml file 'App.config'.

To run the program rebuild the project and start 'Sample.NET.exe' from the console in 'Unziped-Directory\bin\Debug'.