Fabrication |
Overrides the default service button exclusions, used by Route and Fill, Design to Fabrication, or Multi Point Routing for the current user and session only.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

public void OverrideServiceButtonExclusion(
int paletteIndex,
int buttonIndex,
bool exclude
)
Parameters

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The index paletteIndex is not larger or equal to 0 and less than PaletteCount. |
