PathOfTravel.UpdateMultiple(Document, IList<ElementId>)
Method
Description:
Updates the specified paths of travel by recalculating each path using their original start and end points.
Updates the specified paths of travel by recalculating each path using their original start and end points.
Remarks:
For unsuccessfully updated elements, Revit will post warnings.
For unsuccessfully updated elements, Revit will post warnings.
Parameters
Parameter | Type | Description |
---|---|---|
adoc | Document | Document of elements to be updated. |
elementsToUpdate | IList | The list of <a href="44f3f7b1-3229-3404-93c9-dc5e70337dd6.htm">ElementId</a>of the paths to update. |
Return Value
Type | Description |
---|---|
Int32 | number of successfully updated elements |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This functionality is not available in Revit LT. |