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

Group.HideAttachedDetailGroups

Method
Description:
Hides the element group's attached detail groups of the input group type that are compatible with the input view.
Syntax
public void HideAttachedDetailGroups(
	View view,
	ElementId detailGroupTypeId
)
Parameters
Parameter Type Description
view View The view that the attached detail groups must be compatible with.
detailGroupTypeId ElementId Only attached detail groups of this type will be hidden.
Return Value
Exceptions
Exception Condition
ArgumentException The attached detail group detailGroupTypeId does not match the input view's orientation.
ArgumentNullException A non-optional argument was null
InvalidOperationException The input group is not a model group and can therefore not have attached detail groups.