NumberingFormatSettings Class


Numbering Format Settings Class

Settings associated with the formatting of a numbering schema.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB NumberingFormatSettings

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public class NumberingFormatSettings : IDisposable

The NumberingFormatSettings type exposes the following members.

Constructors
Name Description
Public method NumberingFormatSettings Create an empty NumberingFormatSettings object.
Public method NumberingFormatSettings(NumberingFormatSettings) Copy a parameter and its association.
Top
Properties
Name Description
Public property AsCharacters True if the number is using characters, false for digits.
Public property FirstNumberFormattingOption The formatting options for the start of a sequence.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property MinimumNumberOfDigits Defines the minimum digit count for the numerical display.
Public property NumberOfParameters A property defining the number of parameters used in this formatting settings object.
Public property UppercaseCharacters if asCharacters is enabled, the characters will be presented as uppercase.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the NumberingFormatSettings
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetParameter Get the parameter at the provided index incorporated into the numeric label.
Public method GetParameters Get parameters incorporated into the numeric label.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method RemoveParameter Remove a parameter from a specific index. The position where the parameter to be removed.
Public method SetParameter Set parameter incorporated into the numeric label. Parameter to be added into the label The position where the parameter to be added
Public method SetParameters Set parameters incorporated into the numeric label.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks

This object contains all the formatting settings related to a numbering schema. The final number available on the element is generated for the user based on the parameters set with GetParameters / SetParameters on this object. The order for this parameter is the order in which their values will appear in the generated number. All the transformations applied to this values that are available are controlled from the NumberingFormattedParameter set with the above methods. The value assigned by the system will have the position of the parameter with the same id as the NumberingParameterId on the NumberingSchema. The AsCharacters property controls if in the final output the value assigned by the system will be presented as a set of letter(ex A for 1, B for 2, AA for 20) The MinimumNumberOfDigits property determines the minimum number of digits that will be used for the value assigned for the system if AsCharacters is false.

See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →