Method GetAllGeometries
- Namespace
- GeometryHelper.IfcConvert.Core
- Assembly
- GeometryHelper.IfcConvert.dll
GetAllGeometries(IfcConvertOptions)
Converts every product across the model and returns them all at once: the ones EnumerateGeometries(IfcConvertOptions) gives, in the same order.
public IReadOnlyList<IfcProductGeometry> GetAllGeometries(IfcConvertOptions options = null)
Parameters
optionsIfcConvertOptionsOptional conversion options.
Returns
- IReadOnlyList<IfcProductGeometry>
The product geometries, in the order EnumerateGeometries(IfcConvertOptions) gives them.
Remarks
A file xBIM holds in memory (IsInMemory) is converted on every core at once, each product under the tolerance in force where this is called, so the answers are the ones converting the products one at a time gives. A file xBIM keeps on disk is converted one product at a time. Where a product fails, the call throws what the first to fail in order threw. EnumerateGeometries(IfcConvertOptions) converts as it is read instead, and holds fewer products in memory at once.