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 IfcCostScheduleInheritance
Inherited Members
Constructors
IfcCostSchedule()
public IfcCostSchedule()IfcCostSchedule(string, string, IfcCostScheduleType)
public IfcCostSchedule(string name, string currency = "USD", IfcCostScheduleType type = IfcCostScheduleType.CostPlan)Parameters
namestringcurrencystringtypeIfcCostScheduleType
Properties
AllCostItems
Enumerates all cost items across the hierarchical CBS tree.
public IEnumerable<IfcCostItem> AllCostItems { get; }Property Value
Currency
public string Currency { get; set; }Property Value
Description
public string? Description { get; set; }Property Value
GlobalId
public string GlobalId { get; set; }Property Value
Name
public string Name { get; set; }Property Value
RootCostItems
Top-level root cost items in the Cost Breakdown Structure (CBS).
public List<IfcCostItem> RootCostItems { get; }Property Value
ScheduleType
public IfcCostScheduleType ScheduleType { get; set; }Property Value
Status
public string? Status { get; set; }Property Value
UpdateDate
public DateTime UpdateDate { get; set; }Property Value
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
Returns
FindItem(string)
Finds a cost item by its CBS cost code or name.
public IfcCostItem? FindItem(string codeOrName)Parameters
codeOrNamestring
Returns
GetTotalCost()
Calculates the grand total cost of all root cost items in the schedule.
public double GetTotalCost()