An object including a reference to a geometric object and related context, as instance transform etc.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.ReferenceWithContext
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public class ReferenceWithContext : IDisposable
The ReferenceWithContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() | Proximity | The proximity value to the ray's origin when the reference is returned by FindReferencesWithContextByDirection(XYZ, XYZ, View3D) or ReferenceIntersector.Find(XYZ, XYZ). |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the ReferenceWithContext |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetInstanceTransform | Gets the transform of the instance. |
![]() | GetReference | Gets the reference of the geometric object. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |