<Code Lib>
2026 Method
Changes 0
M

FabricationPart.CreateHanger(Document, FabricationServiceButton, Int32, ElementId)

Description:
Creates a free placed hanger.

public static FabricationPart CreateHanger(
	Document document,
	FabricationServiceButton button,
	int condition,
	ElementId levelId
)

  • document
    The document.
  • button
    The fabrication service button to use.
  • Int32
    condition
    The condition index. If the button has multiple conditions.
  • levelId
    The level identifier associated with the level.
Return Value FabricationPart The newly-created fabrication hanger.

Loading…