FabricationService
Description:
This object contains information about a fabrication service.
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.
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
System.Object
Autodesk.Revit.DB.FabricationService
public class FabricationService : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetButtonCount(Int32) | int | Gets the number of buttons for a given palette in the service. |
| GetButton(Int32, Int32) | The service button | Gets the service button for a given palette index and button index from the service. |
| GetPaletteName(Int32) | string | Gets the name of a palette based on palette index. |
| 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. |
| 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. |
| IsValidButtonIndex(Int32, Int32) | bool | Validates the button index. |
| IsValidPaletteIndex(Int32) | bool | Validates the palette index. |
| 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. |
| ResetServiceExclusionOverrides() | None | Resets the overridden service palette and button exclusions back to default, as defined by the configuration. |
| 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 |
|---|---|---|
| Abbreviation | string | The short name of service. |
| FabricationSystemName | string | The fabrication system name of the service. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| Name | string | The name of the service. |
| PaletteCount | int | The number of palettes in the service. |
| ServiceId | int | The service identifier of the service. |