|
![]() |
Causes the DocumentTimeliner document part to inspect all summary tasks and
calculate their start and end dates based on the union of all child tasks, including
all children within the hierarchy below task.
Namespace: Autodesk.Navisworks.Api.Timeliner
Assembly: Autodesk.Navisworks.Timeliner (in Autodesk.Navisworks.Timeliner.dll)
Syntax
Visual Basic |
---|
Public Function TaskSummaryRecalculateDates ( _ task As TimelinerTask _ ) As Boolean |
C# |
---|
public bool TaskSummaryRecalculateDates( TimelinerTask task ) |
Visual C++ |
---|
public: bool TaskSummaryRecalculateDates( TimelinerTask^ task ) |
Parameters
- task
- Type: Autodesk.Navisworks.Api.Timeliner..::..TimelinerTask
The task within the DocumenTimeliner document part to calculate the summaries for.
Remarks
Tasks with children can be considered summary tasks and as such their date pairs should encompass the
dates from all children below them in the hierarchy, so if the task has two children, then the planned start
and end dates will be the earliest of the children's planned start dates and end dates respectively. The same for
actual dates referencing the children's actual start and end dates.
Note that any child, can itself be a summary task (it can have children) and it's dates will therefore be calculated as the union of it's children's dates, including their children.