DirectShapeReferenceOptions
Description:
This class is used to control the behavior of DirectShape and DirectShapeType reference objects.
This class is used to control the behavior of DirectShape and DirectShapeType reference objects.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.DirectShapeReferenceOptions
System.Object
Autodesk.Revit.DB.DirectShapeReferenceOptions
public class DirectShapeReferenceOptions : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| DirectShapeReferenceOptions() | None | Constructs a new DirectShapeRefOptions instance with default settings. | |
| DirectShapeReferenceOptions(DirectShapeReferenceOptions) | None | Constructs a new copy of the input DirectShapeRefOptions object. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the DirectShapeReferenceOptions | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetExternalGeometryId() | ExternalGeometryId | Retrieves the ExternalGeometryId associated with the reference object. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| IsValidExternalGeometryId(ExternalGeometryId) | Boolean | Validates that the input ExternalGeometryId can be assigned to a direct shape reference. | |
| IsValidReferenceName(String) | Boolean | Validates that the input name can be assigned to a direct shape reference. | |
| SetExternalGeometryId(ExternalGeometryId) | DirectShapeReferenceOptions | Sets the ExternalGeometryId associated with the reference object. The ID must be non-empty. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| 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. |