FabricationService
This object contains information about a fabrication service.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.FabricationService
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FabricationService : IDisposableThe FabricationService type exposes the following members.
Properties
Name
Description
Public Property
Abbreviation
The short name of service.
Public Property
FabricationSystemName
The fabrication system name of the service.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Name
The name of the service.
Public Property
PaletteCount
The number of palettes in the service.
Public Property
ServiceId
The service identifier of the service.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the FabricationService
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetButton
Gets the service button for a given palette index and button index from the service.
Public Method
GetButtonCount
Gets the number of buttons for a given palette in the service.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetPaletteName
Gets the name of a palette based on palette index.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsCompatibleWith
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.
Public Method
IsPaletteExcluded
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.
Public Method
IsValidButtonIndex
Validates the button index.
Public Method
IsValidPaletteIndex
Validates the palette index.
Public Method
OverrideServiceButtonExclusion
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.
Public Method
ResetServiceExclusionOverrides
Resets the overridden service palette and button exclusions back to default, as defined by the configuration.
Public Method
SetServicePaletteExclusions
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.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
A fabrication service defines what fabrication service buttons that can be used. Fabrication services are part of the fabrication configuration.