RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Element

Element.CanBeHidden

Method
Description:
Indicates if the element can be hidden in the view.
Remarks:
See discussion for some types of elements which may not be hidden. Note: elements in families can only be hidden temporarily.
Syntax
public bool CanBeHidden(
	View pView
)
Parameters
Parameter Type Description
pView View
Return Value
Type Description
Boolean If the element is not permitted to be hidden, false is returned.
Exceptions
Exception Condition
ArgumentNullException Thrown when argument is.