PartUtils.GetAssociatedPartMaker(Document, LinkElementId)
Method
Description:
Gets associated PartMaker for an element.
Gets associated PartMaker for an element.
Syntax
public static PartMaker GetAssociatedPartMaker(
Document hostDocument,
LinkElementId hostOrLinkElementId
)
Parameters
Parameter | Type | Description |
---|---|---|
hostDocument | Document | The document |
hostOrLinkElementId | LinkElementId | 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 |