Share

DirectContext3DDocumentUtils.IsADirectContext3DHandleType Method

Checks whether the provided Element ID corresponds to a DirectContext3D handle type element.


Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static bool IsADirectContext3DHandleType(
	Document aDocument,
	ElementId elementId
)

Parameters

aDocument  Document
The document.
elementId  ElementId
The ID of the element to check.

Return Value

Boolean
True, if the element is a valid DirectContext3D handle type, false otherwise.

Exceptions

ExceptionCondition
ArgumentException aDocument is not a project document. -or- elementId is not a valid Element identifier.
ArgumentNullException A non-optional argument was null

Remarks

DirectContext3D handle types are DirectShapeTypes.

See Also

Reference

Was this information helpful?