2021 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
M ContainsFabricationPartType(FabricationPartType) bool Checks to see if the fabrication part type exists on one of the button conditions.
M Dispose() None Releases all resources used by the
M GetConditionDescription(Int32) string Gets the description for the condition size range.
M GetConditionImage(Int32) nullNothingnullptr 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 GetImage() nullNothingnullptr Gets the image for fabrication service button.
M IsExcluded() bool 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) bool Checks if the condition is unrestricted.
M IsValidConditionIndex(FabricationServiceButton, Int32) bool Validates if the given condition index is valid or not.
M IsValid() bool Checks if the button contains only valid fittings.
Name Return Type Description
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 GroupIndex int The group index for this button.
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 bool Specifies whether the .NET object represents a valid Revit entity.
P Name string The name of the button.
P ServiceId int The fabrication service identifier for the fabrication service this button belongs to.