C# Class Revit.SDK.Samples.Selections.CS.DefaultElementsFilter

A default filter. All objects are allowed to be picked.
Inheritance: ISelectionFilter
Exibir arquivo Open project: AMEE/revit

Public Methods

Method Description
AllowElement ( Element element ) : bool

Allow all the element to be selected

AllowReference ( System.Reference refer, XYZ point ) : bool

Allow all the reference to be selected

Method Details

AllowElement() public method

Allow all the element to be selected
public AllowElement ( Element element ) : bool
element Element A candidate element in selection operation.
return bool

AllowReference() public method

Allow all the reference to be selected
public AllowReference ( System.Reference refer, XYZ point ) : bool
refer System.Reference A candidate reference in selection operation.
point XYZ The 3D position of the mouse on the candidate reference.
return bool