2023 Class
Changes 3
C

Reference

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