Table of Contents

Class IfcWorkSchedule

Namespace
IfcIO.Model.Sequence
Assembly
IfcIO.dll

A collection of scheduled tasks representing a construction or operational schedule. Conforms to buildingSMART standard IFCWORKSCHEDULE.

public sealed class IfcWorkSchedule

Inheritance

Inherited Members

Constructors

IfcWorkSchedule()

public IfcWorkSchedule()

IfcWorkSchedule(string, string?)

public IfcWorkSchedule(string name, string? description = null)

Parameters

name string
description string?

Properties

AllTasks

Enumerates all tasks in the schedule across the hierarchical WBS tree.

public IEnumerable<IfcTask> AllTasks { get; }

Property Value

IEnumerable<IfcTask>

CreationDate

public DateTime CreationDate { get; set; }

Property Value

DateTime

Description

public string? Description { get; set; }

Property Value

string?

FinishTime

public DateTime? FinishTime { get; set; }

Property Value

DateTime?

GlobalId

public string GlobalId { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

RootTasks

Root-level tasks in the schedule Work Breakdown Structure (WBS).

public List<IfcTask> RootTasks { get; }

Property Value

List<IfcTask>

StartTime

public DateTime? StartTime { get; set; }

Property Value

DateTime?

TotalFloat

public TimeSpan? TotalFloat { get; set; }

Property Value

TimeSpan?

Methods

AddTask(string, string?, DateTime?, DateTime?, IfcTaskType)

Adds a new root task to the schedule.

public IfcTask AddTask(string name, string? identification = null, DateTime? start = null, DateTime? finish = null, IfcTaskType taskType = IfcTaskType.Construction)

Parameters

name string
identification string?
start DateTime?
finish DateTime?
taskType IfcTaskType

Returns

IfcTask

FindTask(string)

Finds a task by its WBS identification code or task name.

public IfcTask? FindTask(string identificationOrName)

Parameters

identificationOrName string

Returns

IfcTask?

GetActiveTasksAt(DateTime)

Gets all active tasks at the specified target simulation date.

public IReadOnlyList<IfcTask> GetActiveTasksAt(DateTime date)

Parameters

date DateTime

Returns

IReadOnlyList<IfcTask>

GetElementStateAt(IfcElement, DateTime)

Determines the temporal 4D construction state of an element at the specified date.

public IfcElementSimulationState GetElementStateAt(IfcElement element, DateTime date)

Parameters

element IfcElement
date DateTime

Returns

IfcElementSimulationState

GetProgressAt(DateTime)

Calculates the overall schedule progress percentage (0.0 to 100.0) at the specified date.

public double GetProgressAt(DateTime date)

Parameters

date DateTime

Returns

double