Writing IFC example
All examples are build on top of the IFC Engine DLL. Although the IFC Engine DLL is written C/C++ it can be used for programs written in several programming languages (C/C++, C#, VB, VB.NET, Java).
To use the IFC Engine DLL within programming languages other then C/C++ a reference to the API calls need to be given. Within this reference mismatches between the used arguments/parameters and what is allowed in the language need to be resolved for all API calls. All this can be solved with a wrapper.
We already created this wrapper for the most common programming languages, each wrapper includes a small example. The examples are based on a plumbing IFC-file that will start searching the first distribution port that is not connected to any other port. From here the plumbing system is followed till the other end(s).
Downloads
Important note:
All source code is free to use in any environment including commercial developments. The use of the IFC Engine DLL in commercial environments could be subject to fees, please contact peter.bonsma@tno.nl for more information or look at IFC Engine DLL.
|