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

A Filter for Wall Face. Only wall faces are allowed to be picked.
Inheritance: ISelectionFilter
ファイルを表示 Open project: AMEE/revit

Public Methods

Method 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 method

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

AllowReference() public method

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.
return bool

WallFaceFilter() public method

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