ViewHideElementTemporary Method

Set one element to be temporarily hidden in the view. To hide a group completely, you must also include all members of all groups and nested groups in your input, therefore you should use the version of this method that accepts multiple element ids as input.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void HideElementTemporary(
	ElementId elementId
)

Parameters

elementId  ElementId
The id of the element to be temporarily hidden.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also