GetNumberingSchema(Document, String) Method


Numbering Schema Get Numbering Schema(Document, String) Method

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
public static NumberingSchema GetNumberingSchema(
	Document document,
	string schemaName
)

Parameters

document Document
A document to get the numbering schema from.
schemaName String
The name of a schema to get.

Return Value

NumberingSchema
Instance of the specified schema.
Exceptions
Exception Condition
ArgumentException The given schemaName has is invalid or allready in use.
ArgumentNullException A non-optional argument was null
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 →