Revit 2025.3 API
ElementCan |
Indicates if the element can be hidden in the view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool CanBeHidden( View pView )
Public Function CanBeHidden ( pView As View ) As Boolean
public: bool CanBeHidden( View^ pView )
member CanBeHidden : pView : View -> bool
Parameters
- pView View
Return Value
BooleanIf the element is not permitted to be hidden, false is returned.

Exception | Condition |
---|---|
ArgumentNullException | Thrown when argument is . |

See discussion for some types of elements which may not be hidden.
Note: elements in families can only be hidden temporarily.
See Also