IsGroupExcluded Method


Get whether a service group is excluded from being used by the Route and Fill, Design to Fabrication, or Multi Point Routing commands. The default configuration values may be overridden by SetServiceGroupExclusions.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since: 2017 Subscription Update

Syntax

C#
public bool IsGroupExcluded(
	int groupIndex
)
Visual Basic
Public Function IsGroupExcluded ( _
	groupIndex As Integer _
) As Boolean
Visual C++
public:
bool IsGroupExcluded(
	int groupIndex
)

Parameters

groupIndex
Type: System Int32
The index of the group.

Return Value

Returns true if the group indexed by groupIndex is currently to be excluded.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException the index groupIndex is not larger or equal to 0 and less than GroupCount

See Also