Projects a ray from the origin along the given direction, and returns all references from intersected elements which match the ReferenceIntersector's criteria.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public IList<ReferenceWithContext> Find(
XYZ origin,
XYZ direction
)
Parameters
- origin XYZ
-
The origin of the ray.
- direction XYZ
-
The direction of the ray.
Return Value
IList<ReferenceWithContext>
A collection containing the intersected references.
Exceptions
See Also
Reference