FabricationService Class


Fabrication Service Class

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 : IDisposable

The 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.
Top
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 )
Top
Remarks
A fabrication service defines what fabrication service buttons that can be used. Fabrication services are part of the fabrication configuration.
See Also