Method GetOrCreate
- Namespace
- GeometryHelper.IfcConvert.Core
- Assembly
- GeometryHelper.IfcConvert.dll
GetOrCreate(string)
Gets an existing cached store for the given file path, or creates and caches a new one.
public static IfcStoreCache GetOrCreate(string filePath)
Parameters
filePathstringThe full path to the IFC file, e.g.
C:\Models\Building.ifcor\server\share\Building.ifc. Different spellings of the same full path (/or</code>,.and..segments, letter case) share one cached model.
Returns
- IfcStoreCache
A cached IfcStoreCache instance.
Exceptions
- ArgumentNullException
Thrown when
filePathis null or whitespace.- ArgumentException
Thrown when
filePathis not a full path.