Sample Code Revit Batch Processor 1.1.16 documentation
Bases: RevisionBySheetStorageBase
Revision by sheet storage for sequence type ‘Alpha Numeric’.
Initializes the revision by sheet storage for alphanumeric sequence type.
revit_id (int) – The Revit element id of the revision.
revit_revision (Autodesk.Revit.DB.Revision) – The Revit revision element.
prefix (str) – The prefix for the revision number.
suffix (str) – The suffix for the revision number.
sequence ([str]) – The alphanumeric sequence for the revision.
revision_index_on_sheet (int) – The index of the revision on the sheet.
revision_are_by_sheet (bool) – Flag indicating if revisions are by sheet.
Convert a sequential index to Revit revision format.
index: Sequential index (0-based, e.g., 0, 1, 2, 3…)
Revision string (e.g., ‘A’, ‘B’, ‘C’, ‘AA’, ‘BB’, etc.)
Gets the revision value for the given revision index on sheet.
revision_index_on_sheet (int) – The index of the revision on the sheet.
The revision value.
str
Bases: Base
Revision by sheet storage base class
Initializes the revision by sheet storage base class.
revit_id (int) – The Revit element id of the revision.
revit_revision (Autodesk.Revit.DB.Revision) – The Revit revision element.
revision_index_on_sheet (int) – The index of the revision on the sheet.
revision_are_by_sheet (bool) – Flag indicating if revisions are by sheet.
Gets the revision value for the given revision index on sheet.
revision_index_on_sheet (int) – The index of the revision on the sheet.
The revision value.
_NotImplementedType
Bases: RevisionBySheetStorageBase
Revision by sheet storage for sequence type ‘None’.
Initializes the revision by sheet storage base class.
revit_id (int) – The Revit element id of the revision.
revit_revision (Autodesk.Revit.DB.Revision) – The Revit revision element.
revision_index_on_sheet (int) – The index of the revision on the sheet.
revision_are_by_sheet (bool) – Flag indicating if revisions are by sheet.
Gets the revision value for the given revision index on sheet. (Will always be None for ‘None’ sequence type)
revision_index_on_sheet (int) – The index of the revision on the sheet.
The revision value.
None
Bases: RevisionBySheetStorageBase
Revision by sheet storage for sequence type ‘Numeric’.
Initializes the revision by sheet storage for numeric sequence type.
revit_id (int) – The Revit element id of the revision.
revit_revision (Autodesk.Revit.DB.Revision) – The Revit revision element.
prefix (str) – The prefix for the revision number.
suffix (str) – The suffix for the revision number.
start_number (int) – The starting number for the revision sequence.
min_digits (int) – The minimum number of digits for the revision number.
revision_index_on_sheet (int) – The index of the revision on the sheet.
revision_are_by_sheet (bool) – Flag indicating if revisions are by sheet.
Gets the revision value for the given revision index on sheet.
revision_index_on_sheet (int) – The index of the revision on the sheet.
The revision value.
str