Returns all DirectContext3D handle instances of the given category in the document. 
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
- aDocument
- Type: Autodesk.Revit.DBDocument
 The document.
- handleCategory
- Type: Autodesk.Revit.DBElementId
 A category of DirectContext3D handles.
Return Value
The set of DirectContext3D handle instances of the given category.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | the category ID handleCategory is not valid for DirectContext3D handles. | 
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |