Skip to content

DirectShapeOptions

Public Class

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

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.DirectShapeOptions

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class DirectShapeOptions : IDisposable

The DirectShapeOptions type exposes the following members.

Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property
ReferencingOption

Whether or not the geometry stored in a DirectShape object may be referenced.


Public Property

Identifies whether the DirectShape supports an option for the “Room Bounding” parameter to permit participation in room boundary calculations.


Methods

Name

Description


Public Method

Releases all resources used by the DirectShapeOptions


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

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