CanBeHidden Method


Element Can Be Hidden Method

Indicates if the element can be hidden in the view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanBeHidden(
	View pView
)

Parameters

pView View

Return Value

Boolean
If the element is not permitted to be hidden, false is returned.
Exceptions
Exception Condition
ArgumentNullException Thrown when argument is .
Remarks
See discussion for some types of elements which may not be hidden. Note: elements in families can only be hidden temporarily.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →