Removes gaps, if any, in a numbering sequence
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void RemoveGaps( string partition )
Parameters
- partition String
- Name of the partition that identifies the sequence. The sequence must exist.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The sequence partition does not exist in the schema. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Either the schema or its document cannot be modified at present. -or- Can't access the number while an async operation is running. |
