HideElementTemporary 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: 20.0.0.0 (20.0.0.377)
Since: 2013

Syntax

C#
public void HideElementTemporary(
	ElementId elementId
)
Visual Basic
Public Sub HideElementTemporary ( _
	elementId As ElementId _
)
Visual C++
public:
void HideElementTemporary(
	ElementId^ elementId
)

Parameters

elementId
Type: Autodesk.Revit.DB ElementId
The id of the element to be temporarily hidden.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also