Including the XSI Object Model in Your .cpp File

You need to include the header file siobjectmodel.h as a preprocessor directive in order to use the object model in your C++ source code:

   #include "si3dobjectmodel.h"

To use Compiler COM Support, you can also use the #import directive to access the object model libraries:

   #import <siobjectmodel.tlb>
   #import <si3dobjectmodel.tlb>

 

If you are compiling on Linux, you need to connect to the type libraries as .tli and .tlh files. For more information, see MainWin (Linux) Environment