2027 Method
Changes 0
M

PartUtils.ArePartsValidForMerge

Description:
Identifies whether Part elements may be merged.
public static bool ArePartsValidForMerge(
	Document document,
	ICollection<ElementId> partIds
)
  • document
    The document.
  • ICollection<ElementId>
    partIds
    Element ids of Parts.
Return Value Boolean True if all element ids correspond to Part elements, none of the parts already has associated parts, the parts have contiguous geometry, all report the same materials, and all have the same creation and demolition phases.