ReferenceWithContext Class


An object including a reference to a geometric object and related context, as instance transform etc.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2012

Syntax

C#
public class ReferenceWithContext : IDisposable
Visual Basic
Public Class ReferenceWithContext _
	Implements IDisposable
Visual C++
public ref class ReferenceWithContext : IDisposable

Remarks

The ReferenceWithContext is used as the returned value from the method [!:Autodesk::Revit::DB::Document::FindReferencesWithContextByDirection] , ReferenceIntersector.Find(XYZ, XYZ), or ReferenceIntersector.FindNearest(XYZ, XYZ). It includes a reference intersecting a line extended in a certain direction from an origin point and the context of the geometric object, as the transform and proximity.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB ReferenceWithContext

See Also