Override this post-filter method to specify if a reference to a piece of geometry is permitted to be selected.
Namespace: Autodesk.Revit.UI.Selection
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
bool AllowReference( Reference reference, XYZ position )
Parameters
- reference Reference
- A candidate reference in selection operation.
- position XYZ
- The 3D position of the mouse on the candidate reference.
Return Value
BooleanReturn true to allow the user to select this candidate reference. Return false to prevent selection of this candidate.