SetOptionValue Method


Fabrication Part Set Option Value Method

Sets the fabrication option to the specified value.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void SetOptionValue(
	FabricationOptionDefinition option,
	double newValue
)

Parameters

option FabricationOptionDefinition
The fabrication option to set.
newValue Double
The new value to set, in Revit internal units.
Exceptions
Exception Condition
ArgumentException The fabrication option is not modifiable. -or- The value is invalid if it is beyond the defined limits.
ArgumentNullException A non-optional argument was null
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 →