2027 Members
Changes 0
M

PartUtils Methods

Name Return Type Description
M AreElementsValidForCreateParts(Document, ICollection<ElementId>) Boolean Identifies if the given elements can be used to create parts.
M ArePartsValidForDivide(Document, ICollection<ElementId>) Boolean Identifies if provided members are valid for dividing parts.
M ArePartsValidForMerge(Document, ICollection<ElementId>) Boolean Identifies whether Part elements may be merged.
M CreateMergedPart(Document, ICollection<ElementId>) PartMaker 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) PartMaker 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) PartMaker Gets associated PartMaker for an element.
M GetAssociatedPartMaker(Document, LinkElementId) PartMaker 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) Int32 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) PartMakerMethodToDivideVolumes 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) Boolean Checks if an element has associated parts.
M HasAssociatedParts(Document, LinkElementId) Boolean Checks if an element has associated parts.
M IsMergedPart(Part) Boolean Is the Part the result of a merge.
M IsPartDerivedFromLink(Part) Boolean Is the Part derived from link geometry.
M IsValidForCreateParts(Document, LinkElementId) Boolean Identifies if the given element can be used to create parts.