NumberingFormatSettings Class

Settings associated with the formatting of a numbering schema.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBNumberingFormatSettings

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
 NameDescription
Public methodNumberingFormatSettings Create an empty NumberingFormatSettings object.
Public methodNumberingFormatSettings(NumberingFormatSettings) Copy a parameter and its association.
Top
Properties
 NameDescription
Public propertyAsCharacters True if the number is using characters, false for digits.
Public propertyFirstNumberFormattingOption The formatting options for the start of a sequence.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMinimumNumberOfDigits Defines the minimum digit count for the numerical display.
Public propertyNumberOfParameters A property defining the number of parameters used in this formatting settings object.
Public propertyUppercaseCharacters if asCharacters is enabled, the characters will be presented as uppercase.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the NumberingFormatSettings
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetParameter Get the parameter at the provided index incorporated into the numeric label.
Public methodGetParameters Get parameters incorporated into the numeric label.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRemoveParameter Remove a parameter from a specific index. The position where the parameter to be removed.
Public methodSetParameter Set parameter incorporated into the numeric label. Parameter to be added into the label The position where the parameter to be added
Public methodSetParameters Set parameters incorporated into the numeric label.
Public methodToStringReturns 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