2024 Class
Changes 1
C

FabricationService

Description:
This object contains information about a fabrication service.
Remarks:
A fabrication service defines what fabrication service buttons that can be used. Fabrication services are part of the fabrication configuration.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.FabricationService
public class FabricationService : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetButtonCount(Int32) int Gets the number of buttons for a given palette in the service.
M GetButton(Int32, Int32) The service button. Gets the service button for a given palette index and button index from the service.
M GetPaletteName(Int32) string Gets the name of a palette based on palette index.
M IsCompatibleWith(FabricationService) bool Check whether the service is broadly interchangable with another one without affecting part geometry. The services must have the same fabrication system template and specification.
M IsPaletteExcluded(Int32) bool Get whether a service palette 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 SetServicePaletteExclusions.
M IsValidButtonIndex(Int32, Int32) bool Validates the button index.
M IsValidPaletteIndex(Int32) bool Validates the palette index.
M OverrideServiceButtonExclusion(Int32, Int32, Boolean) None 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.
M ResetServiceExclusionOverrides() None Resets the overridden service palette and button exclusions back to default, as defined by the configuration.
M SetServicePaletteExclusions(IList<Int32>) bool 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.
Name Return Type Description
P Abbreviation string The short name of service.
P FabricationSystemName string The fabrication system name of the service.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P Name string The name of the service.
P PaletteCount int The number of palettes in the service.
P ServiceId int The service identifier of the service.