Method GetIfcToGlobal
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
GetIfcToGlobal(ReferenceModel)
Gets the transformation that carries the IFC geometry of a reference model into Tekla global coordinates.
public static GeoTransform3 GetIfcToGlobal(this ReferenceModel referenceModel)
Parameters
referenceModelReferenceModelThe reference model.
Returns
- GeoTransform3
The transformation from the coordinates of the IFC file to global coordinates.
Remarks
It places geometry read with the options of CreateIfcConvertOptions(ReferenceModel, IfcConvertOptions), which are already in millimetres and at the reference model's scale; the transformation itself only moves and turns.
Exceptions
- ArgumentNullException
Thrown when
referenceModelis null.