HideAllAttachedDetailGroups Method


Hides all the available attached detail groups for this element group type that are compatible with the input view type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2019.1

Syntax

C#
public void HideAllAttachedDetailGroups(
	View view
)
Visual Basic
Public Sub HideAllAttachedDetailGroups ( _
	view As View _
)
Visual C++
public:
void HideAllAttachedDetailGroups(
	View^ view
)

Parameters

view
Type: Autodesk.Revit.DB View
The view that the attached detail groups must be compatible with.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null
Autodesk.Revit.Exceptions InvalidOperationException The input group is not a model group and can therefore not have attached detail groups.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →