GetOptionCount Method


Fabrication Part Get Option Count Method

Gets the number of fabrication options for this part.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public int GetOptionCount()

Return Value

Int32
0 if the part has no option data exposed in Revit.
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 →