Method GetIfcToWorkPlane
- Namespace
- GeometryHelper.TeklaConvert
- Assembly
- GeometryHelper.TeklaConvert.dll
GetIfcToWorkPlane(ReferenceModel)
Gets the transformation that carries the IFC geometry of a reference model into the current work plane.
public static GeoTransform3 GetIfcToWorkPlane(this ReferenceModel referenceModel)
Parameters
referenceModelReferenceModelThe reference model.
Returns
- GeoTransform3
The transformation from the coordinates of the IFC file to the current work plane.
Remarks
It places geometry read with the options of CreateIfcConvertOptions(ReferenceModel, IfcConvertOptions). The work plane is the one current when the method is called; it is changed for a moment and then restored.
Exceptions
- ArgumentNullException
Thrown when
referenceModelis null.