This method is deprecated in Revit 2022 and may be removed in a future version of Revit.
Please use the `SetServicePaletteExclusions` method instead.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2017 Subscription Update
Syntax
| C# |
|---|
[ObsoleteAttribute]
public bool SetServiceGroupExclusions(
IList<int> excludedGroups
) |
| Visual Basic |
|---|
<ObsoleteAttribute> _
Public Function SetServiceGroupExclusions ( _
excludedGroups As IList(Of Integer) _
) As Boolean |
| Visual C++ |
|---|
[ObsoleteAttribute]
public:
bool SetServiceGroupExclusions(
IList<int>^ excludedGroups
) |
Parameters
- excludedGroups
- Type: System.Collections.Generic..::..IList<(Of <(<'Int32>)>)>
A list of service group indexes to be excluded.
Return Value
Returns true if succeeded to set the exclusions to the specified group(s).
Exceptions
See Also