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: 22.0.0.0 (22.1.0.0)
Syntax
| Visual Basic |
|---|
Function AllowReference ( _
reference As Reference, _
position As XYZ _
) As Boolean |
| Visual C++ |
|---|
bool AllowReference(
Reference^ reference,
XYZ^ position
) |
Return Value
Return true to allow the user to select this candidate reference. Return false to prevent selection of this candidate.
Remarks
See Also