DirectShapeOptions Class


This class is used to control behavior of a DirectShape or a DirectShapeType object.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2016

Syntax

C#
public class DirectShapeOptions : IDisposable
Visual Basic
Public Class DirectShapeOptions _
	Implements IDisposable
Visual C++
public ref class DirectShapeOptions : IDisposable

Remarks

Use Enable/Disable functions to change the default behavior. Use DirectShape.SetOptions to modify that object's behavior.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB DirectShapeOptions

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 →