Table of Contents

Method ToGeoSolids

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoSolids(IEnumerable<ISolid>, Tolerance)

Converts every solid of a sequence, skipping the ones that cannot be read.

public static GeoSolid3[] ToGeoSolids(this IEnumerable<ISolid> solids, Tolerance tolerance)

Parameters

solids IEnumerable<ISolid>

The sequence of Tekla solids to convert.

tolerance Tolerance

The tolerance for conversion flat checking.

Returns

GeoSolid3[]

An array of successfully converted GeoSolid3 bodies.

Remarks

A model is walked one part at a time and a single unreadable part should not stop the walk, so what comes back is what could be read rather than all or nothing.

Exceptions

ArgumentNullException

Thrown when solids is null.