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

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 →