2025 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 Inherited From
M Dispose() None Releases all resources used by the FabricationService
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetButton(Int32, Int32) FabricationServiceButton Gets the service button for a given palette index and button index from the service.
M GetButtonCount(Int32) Int32 Gets the number of buttons for a given palette in the service.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetPaletteName(Int32) String Gets the name of a palette based on palette index.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsCompatibleWith(FabricationService) Boolean 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) Boolean 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) Boolean Validates the button index.
M IsValidPaletteIndex(Int32) Boolean 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>) Boolean 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.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Abbreviation string The short name of service.
P FabricationSystemName string The fabrication system name of the service.
P IsValidObject Boolean 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.