2020 Members
Changes 4
M

PartUtils

Name Return Type Description
M AreElementsValidForCreateParts(Document, ICollection<ElementId>) bool Identifies if the given elements can be used to create parts.
M ArePartsValidForDivide(Document, ICollection<ElementId>) bool Identifies if provided members are valid for dividing parts.
M ArePartsValidForMerge(Document, ICollection<ElementId>) bool Identifies whether Part elements may be merged.
M CreateMergedPart(Document, ICollection<ElementId>) nullNothingnullptr Create a single merged part which represents the Parts specified by partsToMerge.
M CreateParts(Document, ICollection.ElementId.) None Creates a new set of parts out of the original elements.
M CreateParts(Document, ICollection.LinkElementId.) None Creates a new set of parts out of the original elements.
M DivideParts(Document, ICollection<ElementId>, ICollection<ElementId>, IList<Curve>, ElementId) nullNothingnullptr Creates divided parts out of parts.
M FindMergeableClusters(Document, ICollection<ElementId>) IList<ICollection<ElementId>> Segregates a set of elements into subsets which are valid for merge.
M GetAssociatedPartMaker(Document, ElementId) nullNothingnullptr Gets associated PartMaker for an element.
M GetAssociatedPartMaker(Document, LinkElementId) nullNothingnullptr Gets associated PartMaker for an element.
M GetAssociatedParts(Document, ElementId, Boolean, Boolean) ICollection<ElementId> Returns all Parts that are associated with the given element.
M GetAssociatedParts(Document, LinkElementId, Boolean, Boolean) ICollection<ElementId> Returns all Parts that are associated with the given element
M GetChainLengthToOriginal(Part) int Calculates the length of the longest chain of divisions/merges to reach to an original non-Part element that is the source of the tested part.
M GetMergedParts(Part) ICollection<ElementId> Retrieves the element ids of the source elements of a merged part.
M GetPartMakerMethodToDivideVolumeFW(PartMaker) nullNothingnullptr Obtains the object allowing access to the divided volume properties of the PartMaker.
M GetSplittingCurves(Document, ElementId) IList<Curve> Identifies the curves that were used to create the part.
M GetSplittingCurves(Document, ElementId, Plane.) IList<Curve> Identifies the curves that were used to create the part and the plane in which they reside.
M GetSplittingElements(Document, ElementId) ISet<ElementId> Identifies the elements ( reference planes, levels, grids ) that were used to create the part.
M HasAssociatedParts(Document, ElementId) bool Checks if an element has associated parts.
M HasAssociatedParts(Document, LinkElementId) bool Checks if an element has associated parts.
M IsMergedPart(Part) bool Is the Part the result of a merge.
M IsPartDerivedFromLink(Part) bool Is the Part derived from link geometry.
M IsValidForCreateParts(Document, LinkElementId) bool Identifies if the given element can be used to create parts.