Table of Contents

Class IfcCostSchedule

Namespace
IfcIO.Model.Cost
Assembly
IfcIO.dll

A collection of cost items representing a budget, estimate, or cost plan. Conforms to buildingSMART standard IFCCOSTSCHEDULE.

public sealed class IfcCostSchedule

Inheritance

Inherited Members

Constructors

IfcCostSchedule()

public IfcCostSchedule()

IfcCostSchedule(string, string, IfcCostScheduleType)

public IfcCostSchedule(string name, string currency = "USD", IfcCostScheduleType type = IfcCostScheduleType.CostPlan)

Parameters

name string
currency string
type IfcCostScheduleType

Properties

AllCostItems

Enumerates all cost items across the hierarchical CBS tree.

public IEnumerable<IfcCostItem> AllCostItems { get; }

Property Value

IEnumerable<IfcCostItem>

Currency

public string Currency { get; set; }

Property Value

string

Description

public string? Description { get; set; }

Property Value

string?

GlobalId

public string GlobalId { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

RootCostItems

Top-level root cost items in the Cost Breakdown Structure (CBS).

public List<IfcCostItem> RootCostItems { get; }

Property Value

List<IfcCostItem>

ScheduleType

public IfcCostScheduleType ScheduleType { get; set; }

Property Value

IfcCostScheduleType

Status

public string? Status { get; set; }

Property Value

string?

UpdateDate

public DateTime UpdateDate { get; set; }

Property Value

DateTime

Methods

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

Adds a top-level cost item to the schedule.

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

Parameters

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

Returns

IfcCostItem

FindItem(string)

Finds a cost item by its CBS cost code or name.

public IfcCostItem? FindItem(string codeOrName)

Parameters

codeOrName string

Returns

IfcCostItem?

GetTotalCost()

Calculates the grand total cost of all root cost items in the schedule.

public double GetTotalCost()

Returns

double