2022 Class
Changes 8
C

Reference

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