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

View.UnhideElements

Method
Description:
Sets the elements to be shown in the given view if they are currently hidden.
Remarks:
This change is permanent until the elements are hidden again. All elements in the set must be currently hidden. An application can check this with IsHidden(View).
Syntax
public void UnhideElements(
	ICollection<ElementId> elementIdSet
)
Parameters
Parameter Type Description
elementIdSet ICollection A set of ElementIds to be unhidden.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when argument is.
ArgumentException Thrown when the set of elements to be unhidden is empty or one of the elements can not be unhidden.
InvalidOperationException Thrown when document regeneration failed.