Table of Contents

Class IfcApi.Root

Namespace
IfcIO.Api
Assembly
IfcIO.dll

Root model and building element factory operations.

public static class IfcApi.Root

Inheritance

Inherited Members

Methods

CreateBeam(IfcBuildingStorey, string, IfcMesh?, IfcMaterial?)

Creates and adds an IFCBEAM element to a storey.

public static IfcElement CreateBeam(IfcBuildingStorey storey, string name, IfcMesh? mesh = null, IfcMaterial? material = null)

Parameters

storey IfcBuildingStorey
name string
mesh IfcMesh?
material IfcMaterial?

Returns

IfcElement

CreateColumn(IfcBuildingStorey, string, IfcMesh?, IfcMaterial?)

Creates and adds an IFCCOLUMN element to a storey.

public static IfcElement CreateColumn(IfcBuildingStorey storey, string name, IfcMesh? mesh = null, IfcMaterial? material = null)

Parameters

storey IfcBuildingStorey
name string
mesh IfcMesh?
material IfcMaterial?

Returns

IfcElement

CreateProject(string, IfcSchema)

Initializes a new IFC project model.

public static IfcModel CreateProject(string projectName, IfcSchema schema = IfcSchema.Ifc4)

Parameters

projectName string
schema IfcSchema

Returns

IfcModel

CreateSlab(IfcBuildingStorey, string, IfcMesh?, IfcMaterial?)

Creates and adds an IFCSLAB element to a storey.

public static IfcElement CreateSlab(IfcBuildingStorey storey, string name, IfcMesh? mesh = null, IfcMaterial? material = null)

Parameters

storey IfcBuildingStorey
name string
mesh IfcMesh?
material IfcMaterial?

Returns

IfcElement

CreateStorey(IfcModel, string, double)

Creates and registers a building storey.

public static IfcBuildingStorey CreateStorey(IfcModel model, string name, double elevation = 0)

Parameters

model IfcModel
name string
elevation double

Returns

IfcBuildingStorey

CreateWall(IfcBuildingStorey, string, IfcMesh?, IfcMaterial?)

Creates and adds an IFCWALL element to a storey.

public static IfcElement CreateWall(IfcBuildingStorey storey, string name, IfcMesh? mesh = null, IfcMaterial? material = null)

Parameters

storey IfcBuildingStorey
name string
mesh IfcMesh?
material IfcMaterial?

Returns

IfcElement