RVTDocs.com
Namespace: Autodesk.Revit.DB Class: PartUtils

PartUtils.GetAssociatedPartMaker(Document, ElementId)

Method
Description:
Gets associated PartMaker for an element.
Syntax
public static PartMaker GetAssociatedPartMaker(
	Document hostDocument,
	ElementId elementId
)
Parameters
Parameter Type Description
hostDocument Document The document
elementId ElementId The id for the element to be checked for associated Parts
Return Value
Type Description
PartMaker The PartMaker element that is making Parts for this element. if there is no associated PartMaker.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null