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 |
|---|---|---|
| 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 |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetExternalGeometryId() | ExternalGeometryId | Retrieves the ExternalGeometryId associated with the reference object. |
| IsValidExternalGeometryId(ExternalGeometryId) | bool | Validates that the input ExternalGeometryId can be assigned to a direct shape reference. |
| IsValidReferenceName(String) | bool | 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. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | 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. |