AddPartitioningParameter Method


Numbering Schema Add Partitioning Parameter Method

Add a parameter to be used for partitioning elements in this schema.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void AddPartitioningParameter(
	NumberingParameter partitioningParameter
)

Parameters

partitioningParameter NumberingParameter
Parameter to add for partitioning elements in this schema.
Exceptions
Exception Condition
ArgumentException The input parameter is not valid for use in partitioning for numbering.
ArgumentNullException A non-optional argument was null
Remarks
This method makes sure that the document will be consistent when it comes to numbering before it exits.
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 →