Updates the specified paths of travel by recalculating each path using their original start and end points.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static int UpdateMultiple(
Document adoc,
IList<ElementId> elementsToUpdate
)
Parameters
- adoc Document
-
Document of elements to be updated.
- elementsToUpdate IList<ElementId>
-
The list of ElementIdof the paths to update.
Return Value
Int32
number of successfully updated elements
Exceptions
Remarks
For unsuccessfully updated elements, Revit will post warnings.
See Also
Reference