2025 Class
Changes 1
C

DirectShapeTypeOptions

Description:
This class is used to control behavior of a DirectShapeType object.
Remarks:
Use Enable/Disable functions to change the default behavior. Use DirectShapeType.SetOptions to modify that object's behavior.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.DirectShapeTypeOptions
public class DirectShapeTypeOptions : IDisposable
Name Return Type Description Inherited From
C DirectShapeTypeOptions() None Constructs a new DirectShapeTypeOptions instance with default settings.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the DirectShapeTypeOptions
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsEqualTo(DirectShapeTypeOptions) Boolean Compare this object with the one supplied as argument. Return true if the options specified by both objects are the same.
M IsValid() Boolean Determines whether a DirectShapeTypeOptions is internally consistent (valid).
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P AllowDuplicateNames bool Determines whether or not duplicate DirectShapeType names are allowed.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.