C# Класс Revit.SDK.Samples.GenerateFloor.CS.Data

obtain all data for this sample. all possible types for floor the level that walls based
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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