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

View.IsElementVisibleInTemporaryViewMode

Method
Description:
Identifies if the input element is visible for the temporary view mode for this view.
Parameters
Parameter Type Description
mode TemporaryViewMode The temporary view mode. Only TemporaryHideIsolate and AnalyticalModel modes are supported by this option. Other modes will result in an exception.
id ElementId The element id.
Return Value
Type Description
Boolean True if the element is visible, false if the element is hidden in the view mode.
Exceptions
Exception Condition
ArgumentException This view mode is not supported for checking element visibility.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration