2023 Class
Changes 7
C

DirectShapeReferenceOptions

Description:
This class is used to control the behavior of DirectShape and DirectShapeType reference objects.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.DirectShapeReferenceOptions
public class DirectShapeReferenceOptions : IDisposable
Name Return Type Description
C DirectShapeReferenceOptions() None Constructs a new DirectShapeRefOptions instance with default settings.
C DirectShapeReferenceOptions(DirectShapeReferenceOptions) None Constructs a new copy of the input DirectShapeRefOptions object.
Name Return Type Description
M Dispose() None Releases all resources used by the
M IsValidReferenceName(String) bool Validates that the input name can be assigned to a direct shape reference.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P Name string The name associated with the reference object. The name does not need to be unique. The name must not be empty and must contain valid characters.