Table of Contents

Class ReferenceModelObjectConvert

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

Reads the objects of Tekla IFC reference models into GeoSolid3 bodies, in the current work plane.

A reference object carries the GlobalId of its IFC product in the EXTERNAL.GUID report property, and that GlobalId is what GeometryHelper.IfcConvert looks products up by. Objects are grouped by the reference model they belong to rather than by file: one IFC file inserted twice is placed twice, while it is parsed once. Placement, scale and the default options are those of ReferenceModelConvert.

An object with no GlobalId, one its file does not hold, one that cannot be converted, and every object of a reference model that is not IFC or cannot be read, are left out rather than thrown on, and written to GeometryHelperLog. An object given twice is returned once, and the rest keep the order they were given in.

public static class ReferenceModelObjectConvert
Inheritance
ReferenceModelObjectConvert
Inherited Members

Methods

GetIfcGuid(ReferenceModelObject)

Gets the IFC GlobalId of a reference object, from its EXTERNAL.GUID report property.

ToGeoSolids(IEnumerable<ReferenceModelObject>, IfcConvertOptions)

Converts reference objects, of any number of reference models and IFC files, into bodies in the current work plane.

ToGeoSolids(ReferenceModelObject, IfcConvertOptions)

Converts one reference object into bodies in the current work plane.

ToIfcGeometries(IEnumerable<ReferenceModelObject>, IfcConvertOptions)

Converts reference objects into the whole geometry of their IFC products, in the current work plane: bodies and open surfaces, with the GlobalId, name, type and conversion warnings of each product.