Revit 2025 API
ViewHide |
Set multiple elements 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.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void HideElementsTemporary( ICollection<ElementId> elementIdSet )
Public Sub HideElementsTemporary ( elementIdSet As ICollection(Of ElementId) )
public: void HideElementsTemporary( ICollection<ElementId^>^ elementIdSet )
member HideElementsTemporary : elementIdSet : ICollection<ElementId> -> unit
Parameters
- elementIdSet ICollectionElementId
- Ids of the elements to be temporarily hidden.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also