Reference
Description:
A stable reference to a geometric object in a Revit model.
A stable reference to a geometric object in a Revit model.
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Reference(Element) | None | Creates a Reference with the supplied element. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Contains(Reference) | bool | Checks if given reference identifies part of object identified by this reference. | |
| ConvertToStableRepresentation(Document) | string | Converts the reference to a stable String representation. | |
| CreateLinkReference(RevitLinkInstance) | Reference | Creates a Reference from a Reference in an RVT Link. | |
| CreateReferenceInLink() | Reference | Creates a Reference in an RVT Link from a Reference in the RVT host file. | |
| EqualTo(Reference) | bool | Checks if given reference is equal to this reference. | |
| ParseFromStableRepresentation(Document, String) | Reference | Converts a stable String representation of a reference to a Reference object. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ElementId | ElementId | The element id for this reference. | |
| ElementReferenceType | ElementReferenceType | The type of reference. | |
| FillPattern | ForgeTypeId | Fill Pattern, in discipline Common. | |
| GlobalPoint | nullNothingnullptr | The position on which the reference is hit. | |
| Image | ForgeTypeId | Image, in discipline Common. | |
| LinkedElementId | ElementId | The id of the top-level element in the linked document that is referred to by this reference. | |
| LoadClassification | ForgeTypeId | Load Classification, in discipline Electrical. | |
| Material | ForgeTypeId | Material, in discipline Common. | |
| UVPoint | UV | The UV parameters of the reference, if the reference contains a face. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |