PartUtils.ArePartsValidForMerge
Description:
Identifies whether Part elements may be merged.
Identifies whether Part elements may be merged.
public static bool ArePartsValidForMerge(
Document document,
ICollection<ElementId> partIds
)
-
documentThe document.
-
partIdsElement ids of Parts.
Return Value
bool
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.
-
A non-optional argument was NULL