SetVisibility Method


Direct Context 3DHandle Settings Set Visibility Method

Visibility of the handle and the associated DirectContext3D graphics. A value of true means that the graphics are visible.

Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetVisibility(
	bool visibility
)

Parameters

visibility Boolean
Visibility of the handle and the associated DirectContext3D graphics. A value of true means that the graphics are visible.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →