PartUtils.HasAssociatedParts(Document, ElementId)
Method
Description:
Checks if an element has associated parts.
Checks if an element has associated parts.
Parameters
| Parameter | Type | Description |
|---|---|---|
| hostDocument | Document | The document. |
| elementId | ElementId | The element to be checked for associated Parts |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the element has associated Parts. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |