C# 클래스 Revit.SDK.Samples.Selections.CS.PlanarFaceFilter

A Filter for planar face. Only planar faces are allowed to be picked.
상속: ISelectionFilter
파일 보기 프로젝트 열기: AMEE/revit

공개 메소드들

메소드 설명
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.

메소드 상세

AllowElement() 공개 메소드

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

AllowReference() 공개 메소드

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.
리턴 bool

PlanarFaceFilter() 공개 메소드

Constructor the filter and initialize the document.
public PlanarFaceFilter ( Document doc ) : System
doc Document The document.
리턴 System