2027 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) Boolean 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 Dispose() None Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) APIObject
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M EqualTo(Reference) Boolean Checks if given reference is equal to this reference.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ParseFromStableRepresentation(Document, String) Reference Converts a stable String representation of a reference to a Reference object.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ElementId ElementId The element id for this reference.
P ElementReferenceType ElementReferenceType The type of reference.
P GlobalPoint XYZ The position on which the reference is hit.
P IsReadOnly bool Identifies if the object is read-only or modifiable. (Inherited from APIObject ) APIObject
P LinkedElementId ElementId The id of the top-level element in the linked document that is referred to by this reference.
P UVPoint UV The UV parameters of the reference, if the reference contains a face.