Source and output

Project Files

(Right-click on projects to save)
How to Compile and Run

Print Wall Properties

The PRINT WALL PROPERTIES sample program prints the properties associated with each wall instance in an IFC file. It iterates over all IfcWall instances in a file, then searches for the property set definitions related to each. Then it prints the properties in each property set. The C++ version of the program demonstrates how to use backpointers to efficiently find the relationship objects that refer to each wall. Use this as the starting point for a more sophisticated program.

The program takes the filename from the command line so you can use it with test files such as those on the buildingSMART site or Univ Karlsruhe.