FabricationServiceButton
The object contains information about a fabricaton button.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.FabricationServiceButton
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FabricationServiceButton : IDisposableThe FabricationServiceButton type exposes the following members.
Properties
Name
Description
Public Property
ButtonIndex
The button index for this button.
Public Property
Code
The code of the button.
Public Property
ConditionCount
The number of conditions.
Public Property
IsAHanger
Checks if the fabrication service button is hanger.
Public Property
IsStraight
Checks if all of the fabrication service button conditions are straights.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
Name
The name of the button.
Public Property
PaletteIndex
The palette index for this button.
Public Property
ServiceId
The fabrication service identifier for the fabrication service this button belongs to.
Methods
Name
Description
Public Method
ContainsFabricationPartType
Checks to see if the fabrication part type exists on one of the button conditions.
Public Method
Dispose
Releases all resources used by the FabricationServiceButton
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetConditionDescription
Gets the description for the condition size range.
Public Method
GetConditionImage
Gets the image for the specified fabrication service button condition.
Public Method
GetConditionLowerValue
Gets the condition lower value (valid if greater or equal) for a given condition index.
Public Method
GetConditionName
Gets the name of the specified condition on the fabrication service button.
Public Method
GetConditionUpperValue
Gets the condition upper value (valid if less) for a given condition index.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetImage
Gets the image for fabrication service button.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsExcluded
Gets if the button’s fabrication part content associated with the button is to be excluded from Route and Fill, Design to Fabrication, or Multi-Point Routing commands.
Public Method
IsUnrestrictedCondition
Checks if the condition is unrestricted.
Public Method
IsValid
Checks if the button contains only valid fittings.
Public Method
Static Member
IsValidConditionIndex
Validates if the given condition index is valid or not.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
A fabrication service button defines what items to use for different conditions. Fabrication service buttons are part of a fabrication service.