Table of Contents

Class IfcElement

Namespace
IfcIO.Model
Assembly
IfcIO.dll

Base class for physical BIM elements (Wall, Slab, Column, Beam, Proxy, etc.).

public class IfcElement

Inheritance

Derived

Inherited Members

Properties

BooleanResult

public IfcBooleanResult? BooleanResult { get; set; }

Property Value

IfcBooleanResult?

GlobalId

public string? GlobalId { get; set; }

Property Value

string?

GridLocation

public string? GridLocation { get; set; }

Property Value

string?

Id

public required int Id { get; init; }

Property Value

int

IfcType

public string IfcType { get; set; }

Property Value

string

Material

public IfcMaterial? Material { get; set; }

Property Value

IfcMaterial?

MaterialLayerSet

public IfcMaterialLayerSetUsage? MaterialLayerSet { get; set; }

Property Value

IfcMaterialLayerSetUsage?

MaterialProfileSet

public IfcMaterialProfileSetUsage? MaterialProfileSet { get; set; }

Property Value

IfcMaterialProfileSetUsage?

Mesh

public IfcMesh? Mesh { get; set; }

Property Value

IfcMesh?

Name

public required string Name { get; set; }

Property Value

string

Openings

public List<IfcOpeningElement> Openings { get; }

Property Value

List<IfcOpeningElement>

Ports

public List<IfcDistributionPort> Ports { get; }

Property Value

List<IfcDistributionPort>

PropertySets

public List<IfcPropertySet> PropertySets { get; }

Property Value

List<IfcPropertySet>

QuantitySets

public List<IfcQuantitySet> QuantitySets { get; }

Property Value

List<IfcQuantitySet>

RevolvedSolid

public IfcRevolvedAreaSolid? RevolvedSolid { get; set; }

Property Value

IfcRevolvedAreaSolid?

Solid

public IfcExtrudedAreaSolid? Solid { get; set; }

Property Value

IfcExtrudedAreaSolid?

Tag

public string? Tag { get; set; }

Property Value

string?

TypeProduct

public IfcTypeProduct? TypeProduct { get; set; }

Property Value

IfcTypeProduct?

Methods

GetEffectiveMesh()

Gets the polygon mesh representation of the element, either explicitly assigned or generated on demand from its parametric solid or CSG boolean operation.

public IfcMesh? GetEffectiveMesh()

Returns

IfcMesh?

GetOrCreatePropertySet(string)

public IfcPropertySet GetOrCreatePropertySet(string name)

Parameters

name string

Returns

IfcPropertySet

GetOrCreateQuantitySet(string)

public IfcQuantitySet GetOrCreateQuantitySet(string name)

Parameters

name string

Returns

IfcQuantitySet

Matches(string, IfcModel?)

Evaluates whether this element matches an IfcOpenShell-style selector query string.

public bool Matches(string selectorQuery, IfcModel? model = null)

Parameters

selectorQuery string
model IfcModel?

Returns

bool