Skip to content

DirectShapeTypeOptions

Public Class

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

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.DirectShapeTypeOptions

Namespace: Autodesk.Revit.DB

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

Syntax

public class DirectShapeTypeOptions : IDisposable

The DirectShapeTypeOptions type exposes the following members.

Constructors

Name

Description


Public Method
DirectShapeTypeOptions

Constructs a new DirectShapeTypeOptions instance with default settings.


Properties

Name

Description


Public Property

Determines whether or not duplicate DirectShapeType names are allowed.


Public Property
IsValidObject

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


Methods

Name

Description


Public Method

Releases all resources used by the DirectShapeTypeOptions


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

Compare this object with the one supplied as argument. Return true if the options specified by both objects are the same.


Public Method
IsValid

Determines whether a DirectShapeTypeOptions is internally consistent (valid).


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 DirectShapeType.SetOptions to modify that object’s behavior.