2027 Class
Changes 1
C

FabricationServiceButton

Description:
The object contains information about a fabricaton button.
Remarks:
A fabrication service button defines what items to use for different conditions. Fabrication service buttons are part of a fabrication service.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.FabricationServiceButton
public class FabricationServiceButton : IDisposable
Name Return Type Description Inherited From
M ContainsFabricationPartType(FabricationPartType) Boolean Checks to see if the fabrication part type exists on one of the button conditions.
M Dispose() None Releases all resources used by the FabricationServiceButton
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetConditionDescription(Int32) String Gets the description for the condition size range.
M GetConditionImage(Int32) Bitmap Gets the image for the specified fabrication service button condition.
M GetConditionLowerValue(Int32) Double Gets the condition lower value (valid if greater or equal) for a given condition index.
M GetConditionName(Int32) String Gets the name of the specified condition on the fabrication service button.
M GetConditionUpperValue(Int32) Double Gets the condition upper value (valid if less) for a given condition index.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetImage() Bitmap Gets the image for fabrication service button.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsExcluded() Boolean 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.
M IsUnrestrictedCondition(Int32) Boolean Checks if the condition is unrestricted.
M IsValid() Boolean Checks if the button contains only valid fittings.
M IsValidConditionIndex(FabricationServiceButton, Int32) Boolean Validates if the given condition index is valid or not.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ButtonIndex int The button index for this button.
P Code string The code of the button.
P ConditionCount int The number of conditions.
P IsAHanger bool Checks if the fabrication service button is hanger.
P IsStraight bool Checks if all of the fabrication service button conditions are straights.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Name string The name of the button.
P PaletteIndex int The palette index for this button.
P ServiceId int The fabrication service identifier for the fabrication service this button belongs to.