| Revit 2022 API | 
| ElementReferenceType Enumeration | 
| See Also | 
Element reference types.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
 Syntax
Syntax
| C# | 
|---|
| public enum ElementReferenceType | 
| Visual Basic | 
|---|
| Public Enumeration ElementReferenceType | 
| Visual C++ | 
|---|
| public enum class ElementReferenceType | 
 Members
Members
| Member name | Description | 
|---|---|
| REFERENCE_TYPE_NONE | The reference is to an element. | 
| REFERENCE_TYPE_LINEAR | The reference is to a curve or edge. | 
| REFERENCE_TYPE_SURFACE | The reference is to a face or face region. | 
| REFERENCE_TYPE_FOREIGN | The reference is to geometry or elements in linked Revit file. | 
| REFERENCE_TYPE_INSTANCE | The reference is an instance of a symbol. | 
| REFERENCE_TYPE_CUT_EDGE | The reference is to a face that was cut (where the original pick was made on the cut edge). | 
| REFERENCE_TYPE_MESH | The reference is to a mesh. | 
| REFERENCE_TYPE_SUBELEMENT | The reference is to a subelement. |