Revit 2026 API
Direct |
Gets override settings associated with a DirectContext3D handle instance or type.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public DirectContext3DHandleSettings GetDirectContext3DHandleSettings( Document aDoc, ElementId elementId )
Public Function GetDirectContext3DHandleSettings ( aDoc As Document, elementId As ElementId ) As DirectContext3DHandleSettings
public: DirectContext3DHandleSettings^ GetDirectContext3DHandleSettings( Document^ aDoc, ElementId^ elementId )
member GetDirectContext3DHandleSettings : aDoc : Document * elementId : ElementId -> DirectContext3DHandleSettings
Parameters
Return Value
DirectContext3DHandleSettingsThe override settings assigned to the handle element, if present, or a default override settings if nothing was found.

Exception | Condition |
---|---|
ArgumentException | The ElementId elementId is not a valid DirectContext3D handle instance or type. |
ArgumentNullException | A non-optional argument was null |
See Also