2021 Class Back to 2021
C

PartUtils

Version comparison

Members across versions

23 members across 9 versions · 6 changed

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M AreElementsValidForCreateParts(Document, ICollection<ElementId>)
same same same same same same same same same
M ArePartsValidForDivide(Document, ICollection<ElementId>)
same same same same same same same same same
M ArePartsValidForMerge(Document, ICollection<ElementId>)
same same same same same same same same same
M CreateMergedPart(Document, ICollection<ElementId>)
same same same same same changed same same same
M CreateParts(Document, ICollection<ElementId>)
same same same same same same same same same
M CreateParts(Document, ICollection<LinkElementId>)
same same same same same same same same same
M DivideParts(Document, ICollection<ElementId>, ICollection<ElementId>, IList<Curve>, ElementId)
same same same same same changed same same same
M FindMergeableClusters(Document, ICollection<ElementId>)
same same same same same changed same same same
M GetAssociatedPartMaker(Document, ElementId)
same same same same same changed same same same
M GetAssociatedPartMaker(Document, LinkElementId)
same same same same same changed same same same
M GetAssociatedParts(Document, LinkElementId, Boolean, Boolean)
same same same same same same same same same
M GetAssociatedParts(Document, ElementId, Boolean, Boolean)
same same same same same same same same same
same same same same same same same same same
M GetMergedParts(Part)
same same same same same same same same same
same same same same same changed same same same
M GetSplittingCurves(Document, ElementId, Plane%)
same same same same same same same same same
M GetSplittingCurves(Document, ElementId)
same same same same same same same same same
M GetSplittingElements(Document, ElementId)
same same same same same same same same same
M HasAssociatedParts(Document, ElementId)
same same same same same same same same same
M HasAssociatedParts(Document, LinkElementId)
same same same same same same same same same
M IsMergedPart(Part)
same same same same same same same same same
same same same same same same same same same
M IsValidForCreateParts(Document, LinkElementId)
same same same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2021).
Identical to 2021: 2020, 2022, 2023, 2024
2021 current

Changes in 2025 vs 2021 6 changed

Flip API Versions →

Changed members

PartUtils.CreateMergedPart(Document, ICollection<ElementId>)
document Document The document.
partIds ICollection<ElementId> The elements that the merged part will be created from.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are merged.
PartUtils.DivideParts(Document, ICollection<ElementId>, ICollection<ElementId>, IList<Curve>, ElementId)
document Document The document containing the parts.
elementIdsToDivide ICollection<ElementId> The elements that will be divided.
intersectingReferenceIds ICollection<ElementId> Intersecting references that will divide the elements.
curveArray IList<Curve> Array of curves that will divide the elements.
sketchPlaneId ElementId SketchPlane id for the curves that divide the elements.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are divided.
PartUtils.FindMergeableClusters(Document, ICollection<ElementId>)
doc Document The document.
partIds ICollection<ElementId> A set of element ids.
→ returns IList>IList An array of clusters such that all the elements in a single cluster are valid for merge. Each cluster will be maximal in that appending any of the other Parts specified as input will result in a collection that is not valid for merge.
PartUtils.GetAssociatedPartMaker(Document, ElementId)
hostDocument Document The document
elementId ElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetAssociatedPartMaker(Document, LinkElementId)
hostDocument Document The document
hostOrLinkElementId LinkElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetPartMakerMethodToDivideVolumeFW(PartMaker)
partMaker PartMaker The PartMaker.
→ returns PartMakerMethodToDivideVolumesnullNothingnullptr The object handle. Returns null Nothing nullptr a null reference ( Nothing in Visual Basic) if the PartMaker does not represent divided volumes.

Changes in 2025.3 vs 2021 6 changed

Flip API Versions →

Changed members

PartUtils.CreateMergedPart(Document, ICollection<ElementId>)
document Document The document.
partIds ICollection<ElementId> The elements that the merged part will be created from.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are merged.
PartUtils.DivideParts(Document, ICollection<ElementId>, ICollection<ElementId>, IList<Curve>, ElementId)
document Document The document containing the parts.
elementIdsToDivide ICollection<ElementId> The elements that will be divided.
intersectingReferenceIds ICollection<ElementId> Intersecting references that will divide the elements.
curveArray IList<Curve> Array of curves that will divide the elements.
sketchPlaneId ElementId SketchPlane id for the curves that divide the elements.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are divided.
PartUtils.FindMergeableClusters(Document, ICollection<ElementId>)
doc Document The document.
partIds ICollection<ElementId> A set of element ids.
→ returns IList>IList An array of clusters such that all the elements in a single cluster are valid for merge. Each cluster will be maximal in that appending any of the other Parts specified as input will result in a collection that is not valid for merge.
PartUtils.GetAssociatedPartMaker(Document, ElementId)
hostDocument Document The document
elementId ElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetAssociatedPartMaker(Document, LinkElementId)
hostDocument Document The document
hostOrLinkElementId LinkElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetPartMakerMethodToDivideVolumeFW(PartMaker)
partMaker PartMaker The PartMaker.
→ returns PartMakerMethodToDivideVolumesnullNothingnullptr The object handle. Returns null Nothing nullptr a null reference ( Nothing in Visual Basic) if the PartMaker does not represent divided volumes.

Changes in 2026 vs 2021 6 changed

Flip API Versions →

Changed members

PartUtils.CreateMergedPart(Document, ICollection<ElementId>)
document Document The document.
partIds ICollection<ElementId> The elements that the merged part will be created from.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are merged.
PartUtils.DivideParts(Document, ICollection<ElementId>, ICollection<ElementId>, IList<Curve>, ElementId)
document Document The document containing the parts.
elementIdsToDivide ICollection<ElementId> The elements that will be divided.
intersectingReferenceIds ICollection<ElementId> Intersecting references that will divide the elements.
curveArray IList<Curve> Array of curves that will divide the elements.
sketchPlaneId ElementId SketchPlane id for the curves that divide the elements.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are divided.
PartUtils.FindMergeableClusters(Document, ICollection<ElementId>)
doc Document The document.
partIds ICollection<ElementId> A set of element ids.
→ returns IList>IList An array of clusters such that all the elements in a single cluster are valid for merge. Each cluster will be maximal in that appending any of the other Parts specified as input will result in a collection that is not valid for merge.
PartUtils.GetAssociatedPartMaker(Document, ElementId)
hostDocument Document The document
elementId ElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetAssociatedPartMaker(Document, LinkElementId)
hostDocument Document The document
hostOrLinkElementId LinkElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetPartMakerMethodToDivideVolumeFW(PartMaker)
partMaker PartMaker The PartMaker.
→ returns PartMakerMethodToDivideVolumesnullNothingnullptr The object handle. Returns null Nothing nullptr a null reference ( Nothing in Visual Basic) if the PartMaker does not represent divided volumes.

Changes in 2027 vs 2021 6 changed

Flip API Versions →

Changed members

PartUtils.CreateMergedPart(Document, ICollection<ElementId>)
document Document The document.
partIds ICollection<ElementId> The elements that the merged part will be created from.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are merged.
PartUtils.DivideParts(Document, ICollection<ElementId>, ICollection<ElementId>, IList<Curve>, ElementId)
document Document The document containing the parts.
elementIdsToDivide ICollection<ElementId> The elements that will be divided.
intersectingReferenceIds ICollection<ElementId> Intersecting references that will divide the elements.
curveArray IList<Curve> Array of curves that will divide the elements.
sketchPlaneId ElementId SketchPlane id for the curves that divide the elements.
→ returns PartMakernullNothingnullptr The newly created PartMaker. null Nothing nullptr a null reference ( Nothing in Visual Basic) if no parts are divided.
PartUtils.FindMergeableClusters(Document, ICollection<ElementId>)
doc Document The document.
partIds ICollection<ElementId> A set of element ids.
→ returns IList>IList An array of clusters such that all the elements in a single cluster are valid for merge. Each cluster will be maximal in that appending any of the other Parts specified as input will result in a collection that is not valid for merge.
PartUtils.GetAssociatedPartMaker(Document, ElementId)
hostDocument Document The document
elementId ElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetAssociatedPartMaker(Document, LinkElementId)
hostDocument Document The document
hostOrLinkElementId LinkElementId The id for the element to be checked for associated Parts
→ returns PartMakernullNothingnullptr The PartMaker element that is making Parts for this element. null Nothing nullptr a null reference ( Nothing in Visual Basic) if there is no associated PartMaker.
PartUtils.GetPartMakerMethodToDivideVolumeFW(PartMaker)
partMaker PartMaker The PartMaker.
→ returns PartMakerMethodToDivideVolumesnullNothingnullptr The object handle. Returns null Nothing nullptr a null reference ( Nothing in Visual Basic) if the PartMaker does not represent divided volumes.