Checks if the orientation of the input attached detail group matches the input view's orientation.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public bool IsCompatibleAttachedDetailGroupType( View view, ElementId detailGroupTypeId )
Parameters
- view View
- The view that the input attached detail group must be compatible with.
- detailGroupTypeId ElementId
- The attached detail group that will be checked for compatibility with the input view.
Return Value
BooleanReturns true if the input attached detail group is compatible with the input view and false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The input group is not a model group and can therefore not have attached detail groups. |