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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →