DirectShapeTypeOptions Class

This class is used to control behavior of a DirectShapeType object.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBDirectShapeTypeOptions

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
 NameDescription
Public methodDirectShapeTypeOptions Constructs a new DirectShapeTypeOptions instance with default settings.
Top
Properties
 NameDescription
Public propertyAllowDuplicateNames Determines whether or not duplicate DirectShapeType names are allowed.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the DirectShapeTypeOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsEqualTo Compare this object with the one supplied as argument. Return true if the options specified by both objects are the same.
Public methodIsValid Determines whether a DirectShapeTypeOptions is internally consistent (valid).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Use Enable/Disable functions to change the default behavior. Use DirectShapeType.SetOptions to modify that object's behavior.
See Also