Skip to content

DirectShapeType.SetOptions

Public Class

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.