Skip to content

FabricationService

Public 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

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

The name of the service.


Public Property

The number of palettes in the service.


Public Property

The service identifier of the service.


Methods

Name

Description


Public Method

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

Gets the service button for a given palette index and button index from the service.


Public Method

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

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

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

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

Validates the button index.


Public Method

Validates the palette index.


Public Method

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

Resets the overridden service palette and button exclusions back to default, as defined by the configuration.


Public Method

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.