Combines the specified Revision with the previous Revision.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static ISet<ElementId> CombineWithPrevious( Document document, ElementId revisionId )
Parameters
- document Document
- The Document containing the Revisions.
- revisionId ElementId
- The Revision that should have its clouds and tags associated with the previous Revision.
Return Value
ISet<ElementId>The ids of all RevisionClouds that were reassigned to the previous Revision.
Exceptions
Exception | Condition |
---|---|
ArgumentException | revisionId is not a valid Revision. -or- This operation cannot be performed because revisionId is an issued Revision. -or- revisionId cannot be combined with the previous Revision because either revisionId is the first Revision or the previous Revision has already been issued. |
ArgumentNullException | A non-optional argument was null |