RVTDocs.com

ReferenceIntersector.Find

Method
Description:
Projects a ray from the origin along the given direction, and returns all references from intersected elements which match the ReferenceIntersector's criteria.
Syntax
public IList<ReferenceWithContext> Find(
	XYZ origin,
	XYZ direction
)
Parameters
Parameter Type Description
origin XYZ The origin of the ray.
direction XYZ The direction of the ray.
Return Value
Type Description
IList A collection containing the intersected references.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null