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

A Filter for Wall Face. Only wall 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 wall to be selected

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

Allow face reference to be selected

WallFaceFilter ( Document doc ) : System

Constructor the filter and initialize the document.

Method Details

AllowElement() public méthode

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

AllowReference() public méthode

Allow 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

WallFaceFilter() public méthode

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