Table of Contents

Method GetIfcGuid

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

GetIfcGuid(ReferenceModelObject)

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

public static string GetIfcGuid(this ReferenceModelObject referenceObject)

Parameters

referenceObject ReferenceModelObject

The reference object.

Returns

string

The GlobalId, or null when the object has none (an object of a DWG reference model, for one).

Exceptions

ArgumentNullException

Thrown when referenceObject is null.