2027 Method
Changes 0
M

FabricationPart.Create

Description:
Creates a fabrication part element based on button.
Overloads (3):
Create(Document,FabricationServiceButton,Int32,ElementId)
public static FabricationPart Create(
	Document document,
	FabricationServiceButton button,
	int condition,
	ElementId levelId
)
Return Value FabricationPart The new fabrication part.
  • Fabrication service button contains invalid fittings. -or- Please use FabricationPart.CreateHanger to create fabrication hanger. -or- The ElementId levelId is not a Level.
  • A non-optional argument was null
  • The index condition is not larger or equal to 0 and less than ConditionCount.
  • The fabrication part type does not exist. Reload the service using FabricationConfiguration.LoadServices.