Assigns override settings associated with a DirectContext3D handle instance or type.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void SetDirectContext3DHandleSettings( Document aDoc, ElementId elementId, DirectContext3DHandleSettings newSettings )
Parameters
- aDoc Document
- Document where elementId resides.
- elementId ElementId
- Id of the element to be overridden.
- newSettings DirectContext3DHandleSettings
- The override settings to be assigned to the handle element.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The ElementId elementId is not a valid DirectContext3D handle instance or type. |
ArgumentNullException | A non-optional argument was null |