DirectShapeOptions Class


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.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

SystemObject
  Autodesk.Revit.DBDirectShapeOptions

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 →