2022 Method
Changes 0
M

View.HideElements

Description:
Sets the elements to be hidden in the view.
Remarks:
This change is permanent until the elements are unhidden. All elements in the set must be currently unhidden and must be allowed to be hidden. An application can check this with IsHidden(View) and CanBeHidden(View).

Some elements cannot be hidden directly. Examples include: group, array, constraint, edit cut profile, face splitter and link to external documents.

To hide a group completely, you must also include all members of all groups and nested groups in your input.

public void HideElements(
	ICollection<ElementId> elementIdSet
)
  • ICollection<ElementId>
    elementIdSet
    A set of ElementIds to be hidden.