SetOptions Method


Direct Shape Type Set Options Method

Sets the options to use for this DirectShapeType.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetOptions(
	DirectShapeTypeOptions options
)

Parameters

options DirectShapeTypeOptions
Options to use for this DirectShapeType.
Exceptions
Exception Condition
ArgumentException The DirectShapeTypeOptions provided are not valid for this DirectShapeType.
ArgumentNullException A non-optional argument was null
Remarks
The new options take effect immediately.
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 →