RevisionReorderRevisionSequence Method |
Reorders the sequence of Revisions in the project.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static void ReorderRevisionSequence(
Document document,
IList<ElementId> newSequence
)
Public Shared Sub ReorderRevisionSequence (
document As Document,
newSequence As IList(Of ElementId)
)
public:
static void ReorderRevisionSequence(
Document^ document,
IList<ElementId^>^ newSequence
)
static member ReorderRevisionSequence :
document : Document *
newSequence : IList<ElementId> -> unit
Parameters
- document Document
-
The document in which the Revision sequence should be reordered.
- newSequence IListElementId
-
The new sequence of Revisions.
Exceptions
Remarks
This method allows the caller to change the sequence of the Revisions within the project by specifying the
new sequence. The specified sequence must include every Revision in the project exactly once.
Note that changing the sequence of Revisions can change the SequenceNumber and RevisionNumber
of Revisions that have already been issued.
See Also