NumberingSchemaGetNumberingSchema(Document, NumberingSchemaType) Method

Note: This API is now obsolete.

Returns an instance of the specified Numbering Schema in the given document.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
[ObsoleteAttribute("This method is deprecated in Revit 2027 and may be removed in a later version of Revit. See the overload of this function that uses schema name as input.")]
public static NumberingSchema GetNumberingSchema(
	Document document,
	NumberingSchemaType schemaType
)

Parameters

document  Document
A document to get the numbering schema from.
schemaType  NumberingSchemaType
The type of a built-in schema to get.

Return Value

NumberingSchema
Instance of the specified schema.
Exceptions
ExceptionCondition
ArgumentException The given schemaType has an invalid Id.
ArgumentNullException A non-optional argument was null
See Also