ReferenceIntersector Members


The ReferenceIntersector type exposes the following members.

Constructors

  NameDescription
Public methodReferenceIntersector(View3D)
Constructs a ReferenceIntersector which is set to return intersections from all elements and representing all reference target types.
Public methodReferenceIntersector(ElementFilter, FindReferenceTarget, View3D)
Constructs a ReferenceIntersector which is set to return intersections from any element which passes an input filter.
Public methodReferenceIntersector(ElementId, FindReferenceTarget, View3D)
Constructs a ReferenceIntersector which is set to return intersections from a single target element only.
Public methodReferenceIntersector(ICollectionElementId, FindReferenceTarget, View3D)
Constructs a ReferenceIntersector which is set to return intersections from any of a set of target elements.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the ReferenceIntersector
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFind
Projects a ray from the origin along the given direction, and returns all references from intersected elements which match the ReferenceIntersector's criteria.
Public methodFindNearest
Projects a ray from the origin along the given direction, and returns the nearest reference from intersected elements which match the ReferenceIntersector's criteria.
Public methodGetFilter
Gets the ElementFilter used in intersection testing.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTargetElementIds
Gets the set of ElementIds to test from in intersection testing.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetFilter
Sets the ElementFilter used in intersection testing.
Public methodSetTargetElementIds
Sets the set of ElementIds to test from in intersection testing.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyFindReferencesInRevitLinks
Determines if references inside Revit Links should be found.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyTargetType
The type of reference to find.
Public propertyViewId
The id of the 3D view used for evaluation.

See Also