Sets the service palette exclusions, used by Route and Fill or Design to Fabrication commands, for the current user and session only. This will alter them from the default configuration exclusions to only exclude those palettes passed.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2022
Syntax
C# |
---|
public bool SetServicePaletteExclusions(
IList<int> excludedPalettes
) |
Visual Basic |
---|
Public Function SetServicePaletteExclusions ( _
excludedPalettes As IList(Of Integer) _
) As Boolean |
Visual C++ |
---|
public:
bool SetServicePaletteExclusions(
IList<int>^ excludedPalettes
) |
Parameters
- excludedPalettes
- Type: System.Collections.Generic..::..IList<(Of <(<'Int32>)>)>
A list of service palette indexes to be excluded.
Return Value
Returns true if succeeded to set the exclusions to the specified palette(s).
Exceptions
See Also