Gets override settings associated with a DirectContext3D handle instance or type.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2018
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- aDoc
- Type: Autodesk.Revit.DBDocument
Document where elementId resides.
- elementId
- Type: Autodesk.Revit.DBElementId
Id of the overridden element.
Return Value
The override settings assigned to the handle element, if present, or a default override settings if nothing was found.Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | The ElementId elementId is not a valid DirectContext3D handle instance or type. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |