FabricationPart.CreateHanger
Description:
Creates a free placed hanger.
Creates a free placed hanger.
Overloads (3):
CreateHanger(Document,FabricationServiceButton,Int32,ElementId)
public static FabricationPart CreateHanger(
Document document,
FabricationServiceButton button,
int condition,
ElementId levelId
)
-
documentThe document.
-
buttonThe fabrication service button to use.
-
Int32conditionThe condition index. If the button has multiple conditions.
-
levelIdThe level identifier associated with the level.
-
Invalid fabrication service button.
-
A non-optional argument was null
-
The index condition is not larger or equal to 0 and less than ConditionCount.