Updates the specified paths of travel by recalculating each path using their original start and end points.
Namespace:
Autodesk.Revit.DB.Analysis
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2020
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- adoc
-
Type:
Autodesk.Revit.DB
Document
Document of elements to be updated.
- elementsToUpdate
-
Type:
System.Collections.Generic
IList
ElementId
The list of ElementId of the paths to update.
Return Value
number of successfully updated elementsExceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions InvalidOperationException | This functionality is not available in Revit LT. |