C# 클래스 Revit.SDK.Samples.GenerateFloor.CS.Data

obtain all data for this sample. all possible types for floor the level that walls based
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
ChooseFloorType ( string typeName ) : void

Set the floor type to generate by its name.

ObtainData ( ExternalCommandData commandData ) : void

Obtain all data which is necessary for generate floor.

비공개 메소드들

메소드 설명
FindMinMax ( Autodesk point, double &xMin, double &xMax, double &yMin, double &yMax ) : void

Estimate the current point is left_bottom or right_up.

Generate2D ( ) : void

Generate 2D data for preview pane.

GetNext ( CurveArray profile, Autodesk connected, Curve line ) : Curve

Get the connected curve for current curve

ObtainFloorTypes ( FilteredElementIterator elements ) : void

Obtain all types are available for floor.

ObtainLevel ( ElementSet walls ) : void

Obtain the wall's level

ObtainProfile ( ElementSet walls ) : void

Obtain a profile to generate floor.

SortCurves ( CurveArray lines ) : void

Chaining the profile.

WallFilter ( ElementSet miscellanea ) : ElementSet

Filter none-wall elements.

메소드 상세

ChooseFloorType() 공개 메소드

Set the floor type to generate by its name.
public ChooseFloorType ( string typeName ) : void
typeName string the floor type's name
리턴 void

ObtainData() 공개 메소드

Obtain all data which is necessary for generate floor.
public ObtainData ( ExternalCommandData commandData ) : void
commandData ExternalCommandData An object that is passed to the external application /// which contains data related to the command, /// such as the application object and active view.
리턴 void