Reference
Description:
This class contains constants identifying reference specs.
This class contains constants identifying reference specs.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.SpecTypeId.Reference
System.Object
Autodesk.Revit.DB.SpecTypeId.Reference
public static class Reference
| Name | Return Type | Description |
|---|---|---|
| Reference(Element) | None | Creates a Reference with the supplied element. |
| Name | Return Type | Description |
|---|---|---|
| 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. |
| Name | Return Type | Description |
|---|---|---|
| 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. |