Identifies whether Part elements may be merged.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2013
Syntax
C# |
---|
public static bool ArePartsValidForMerge(
Document document,
ICollection<ElementId> partIds
) |
Visual Basic |
---|
Public Shared Function ArePartsValidForMerge ( _
document As Document, _
partIds As ICollection(Of ElementId) _
) As Boolean |
Visual C++ |
---|
public:
static bool ArePartsValidForMerge(
Document^ document,
ICollection<ElementId^>^ partIds
) |
Return Value
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.
Exceptions
See Also