2027 Method
Changes 0
M

ISelectionFilter.AllowReference

Description:
Override this post-filter method to specify if a reference to a piece of geometry is permitted to be selected.
Remarks:
If an exception is thrown from this method, the element will not be permitted to be selected.
bool AllowReference(
	Reference reference,
	XYZ position
)
  • reference
    A candidate reference in selection operation.
  • position
    The 3D position of the mouse on the candidate reference.
Return Value Boolean Return true to allow the user to select this candidate reference. Return false to prevent selection of this candidate.