Share

ReferenceIntersector(ICollection<ElementId>, FindReferenceTarget, View3D) Constructor

Constructs a ReferenceIntersector which is set to return intersections from any of a set of target elements.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)

Syntax

C#

public ReferenceIntersector(
	ICollection<ElementId> targetElementIds,
	FindReferenceTarget targetType,
	View3D view3d
)

Parameters

targetElementIds  ICollection<ElementId>
The target element ids.
targetType  FindReferenceTarget
The target type of references to return.
view3d  View3D
The view in which to find references.

Exceptions

ExceptionCondition
ArgumentException Returns true if the view is not a view template.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?