LinkElementId
Description:
LinkElementId represents an element in a linked document.
LinkElementId represents an element in a linked document.
Remarks:
The id contains two element ids:
The id contains two element ids:
- The id of the linked model element in host document.
- The id of the element in the linked model document.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.LinkElementId
System.Object
Autodesk.Revit.DB.LinkElementId
public class LinkElementId
| Name | Return Type | Description |
|---|---|---|
| LinkElementId(ElementId) | None | Creates a new LinkElementId representing an element in the host document. |
| LinkElementId(ElementId, ElementId) | None | Creates a new LinkElementId representing an element in a linked document. |
| Name | Return Type | Description |
|---|---|---|
| op_Equality(LinkElementId, LinkElementId) | bool | Determines whether these two LinkElementIds are the same. |
| Equals(Object) | bool | Determines whether the specified is equal to the current . |
| op_Inequality(LinkElementId, LinkElementId) | bool | Determines whether these two LinkElementIds are different. |
| Name | Return Type | Description |
|---|---|---|
| HostElementId | ElementId | The id of the element in the host, or invalidElementId if there is a link. |
| LinkedElementId | ElementId | The id of the element in the link, or invalidElementId if no link. |
| LinkInstanceId | ElementId | The id of the link, or invalidElementId if no link. |