IFC data may consist of multiple files. It’s possible to convert each IFC file into an OGC 3D Tiles dataset, and display multiple OGC 3D Tiles datasets in one view, but sometimes you want to handle them as one.
To do so, you can list several IFC files in a .ifc.index
file. The TLcdIFCModelDecoder
picks up such index files.
In a .ifc.index
file:
-
Add one line for each file.
-
Refer to the files by their path, relative to the path of the index file.
For instance, if you have this file structure:
C:\path\to\ifc\datasetsA\file1.ifc
C:\path\to\ifc\datasetsA\file2.ifc
C:\path\to\ifc\other_folder\file3.ifc
C:\path\to\ifc\file4.ifc
You can create an index file C:\path\to\ifc\combined.ifc.index
with this content:
datasetsA\file1.ifc
datasetsA\file2.ifc
other_folder\file3.ifc
file4.ifc