FabricationServiceButton
Description:
The object contains information about a fabricaton button.
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.
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
System.Object
Autodesk.Revit.DB.FabricationServiceButton
public class FabricationServiceButton : IDisposable
| Name | Return Type | Description |
|---|---|---|
| ContainsFabricationPartType(FabricationPartType) | bool | Checks to see if the fabrication part type exists on one of the button conditions. |
| Dispose() | None | Releases all resources used by the |
| GetConditionDescription(Int32) | string | Gets the description for the condition size range. |
| GetConditionImage(Int32) | nullNothingnullptr | Gets the image for the specified fabrication service button condition. |
| GetConditionLowerValue(Int32) | double | Gets the condition lower value (valid if greater or equal) for a given condition index. |
| GetConditionName(Int32) | string | Gets the name of the specified condition on the fabrication service button. |
| GetConditionUpperValue(Int32) | double | Gets the condition upper value (valid if less) for a given condition index. |
| GetImage() | nullNothingnullptr | Gets the image for fabrication service button. |
| 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. |
| IsUnrestrictedCondition(Int32) | bool | Checks if the condition is unrestricted. |
| IsValidConditionIndex(FabricationServiceButton, Int32) | bool | Validates if the given condition index is valid or not. |
| IsValid() | bool | Checks if the button contains only valid fittings. |
| Name | Return Type | Description |
|---|---|---|
| ButtonIndex | int | The button index for this button. |
| Code | string | The code of the button. |
| ConditionCount | int | The number of conditions. |
| GroupIndex | int | The group index for this button. |
| IsAHanger | bool | Checks if the fabrication service button is hanger. |
| IsStraight | bool | Checks if all of the fabrication service button conditions are straights. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| Name | string | The name of the button. |
| ServiceId | int | The fabrication service identifier for the fabrication service this button belongs to. |