Numbering
|
Note: This API is now obsolete.
Returns the minimum number of digits to be used for formating
the Number parameter of all enumerable elements of the given document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
[ObsoleteAttribute("This method is deprecated in Revit 2027 and may be removed in a later version of Revit. This function works only for Rebar, Reinforcement and Coupler elements, an exception will be generated if invoked on numbering schemas that scope other categories. <p>The generic functionality for this was moved in the NumberingFormatSettings.</p>")]
public static int GetMinimumNumberOfDigits(
Document document
)
Parameters
- document Document
- The document this value is going to be applied to.
Return Value
Int32The current number of formatting digits
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
The number is used by all numbering schemas in the document.
The value can be modified by using the SetMinimumNumberOfDigits(Document, Int32) method.