Table of Contents

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

filePath string

The full path to the IFC file, e.g. C:\Models\Building.ifc or \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 filePath is null or whitespace.

ArgumentException

Thrown when filePath is not a full path.