PartUtils.HasAssociatedParts(Document, LinkElementId)
Method
Description:
Checks if an element has associated parts.
Checks if an element has associated parts.
Syntax
public static bool HasAssociatedParts(
Document hostDocument,
LinkElementId hostOrLinkElementId
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| hostDocument | Document | The document. |
| hostOrLinkElementId | LinkElementId | 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 |