PartUtils.GetAssociatedPartMaker(Document, ElementId)
Method
Description:
Gets associated PartMaker for an element.
Gets associated PartMaker for an element.
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 |