EngView Automation Documentation
 
Loading...
Searching...
No Matches
Running basic operations

The following examples describe how basic operations are carried out.

1. Loading the application

Getting access to the application object. If the EngView Package Designer process is not running, this starts it.

EVPDDLib.IAutoApp pApp = new EVPDDLib.EVPDDApplication(); //Creates a new instance.

2. Accessing the Document Manager

EVPDDLib.IDocManager pDocMgr = pApp.DM;

3. Opening an existing project

Opening the existing project test.evd:

EVPDDLib.IAutoProject pPrj = pDocMgr.GProject["c:\\engviewwork6\\work\\evd\\test.evd", 0];

4. Exporting a project in the CF2 file format

pPrj.Export("c:\\engviewwork6\\work\\evd\\test.cff", "cf2");