2023 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
C DirectShapeTypeOptions() None Constructs a new DirectShapeTypeOptions instance with default settings.
Name Return Type Description
M Dispose() None Releases all resources used by the
M IsEqualTo(DirectShapeTypeOptions) bool Compare this object with the one supplied as argument. Return true if the options specified by both objects are the same.
M IsValid() bool Determines whether a DirectShapeTypeOptions is internally consistent (valid).
Name Return Type Description
P AllowDuplicateNames bool Determines whether or not duplicate DirectShapeType names are allowed.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.