Creates a free placed hanger.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static FabricationPart CreateHanger(
Document document,
FabricationServiceButton button,
int condition,
ElementId levelId
)
Parameters
- document Document
-
The document.
- button FabricationServiceButton
-
The fabrication service button to use.
- condition Int32
-
The condition index. If the button has multiple conditions.
- levelId ElementId
-
The level identifier associated with the level.
Return Value
FabricationPart
The newly-created fabrication hanger.
Exceptions
See Also
Reference