Table of Contents

Class IfcApi.Cost

Namespace
IfcIO.Api
Assembly
IfcIO.dll

5D Cost planning and budget estimation operations.

public static class IfcApi.Cost

Inheritance

Inherited Members

Methods

AddCostItem(IfcCostSchedule, string, string?, double?, double?, string?)

Creates and adds a cost item to a cost schedule.

public static IfcCostItem AddCostItem(IfcCostSchedule schedule, string name, string? costCode = null, double? unitRate = null, double? quantity = null, string? unitBasis = null)

Parameters

schedule IfcCostSchedule
name string
costCode string?
unitRate double?
quantity double?
unitBasis string?

Returns

IfcCostItem

AddCostSchedule(IfcModel, string, string, IfcCostScheduleType)

Creates and adds a cost schedule to the model.

public static IfcCostSchedule AddCostSchedule(IfcModel model, string name, string currency = "USD", IfcCostScheduleType type = IfcCostScheduleType.CostPlan)

Parameters

model IfcModel
name string
currency string
type IfcCostScheduleType

Returns

IfcCostSchedule

AssignCostControl(IfcCostItem, params IfcElement[])

Assigns one or more building elements to a cost item.

public static void AssignCostControl(IfcCostItem costItem, params IfcElement[] elements)

Parameters

costItem IfcCostItem
elements IfcElement[]

AssignQuantity(IfcCostItem, IfcPhysicalQuantity)

Assigns a physical quantity to a cost item for automatic rate calculations.

public static void AssignQuantity(IfcCostItem costItem, IfcPhysicalQuantity quantity)

Parameters

costItem IfcCostItem
quantity IfcPhysicalQuantity