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

A Filter for planar face. Only planar faces are allowed to be picked.
Inheritance: ISelectionFilter
Afficher le fichier Open project: AMEE/revit

Méthodes publiques

Méthode Description
AllowElement ( Element element ) : bool

Allow all the element to be selected

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

Allow planar face reference to be selected

PlanarFaceFilter ( Document doc ) : System

Constructor the filter and initialize the document.

Method Details

AllowElement() public méthode

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

AllowReference() public méthode

Allow planar face 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.
Résultat bool

PlanarFaceFilter() public méthode

Constructor the filter and initialize the document.
public PlanarFaceFilter ( Document doc ) : System
doc Document The document.
Résultat System