NumberingSchema.GetMinimumNumberOfDigits
Description:
Returns the minimum number of digits to be used for formating the Number parameter of all enumerable elements of the given document.
Returns the minimum number of digits to be used for formating the Number parameter of all enumerable elements of the given document.
Remarks:
The number is used by all numbering schemas in the document.
The value can be modified by using the SetMinimumNumberOfDigits(Document, Int32) method.
[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
)
-
documentThe document this value is going to be applied to.
Return Value
Int32
The current number of formatting digits
-
A non-optional argument was null