C# Class Revit.SDK.Samples.GenerateFloor.CS.Data

obtain all data for this sample. all possible types for floor the level that walls based
Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

ChooseFloorType() public method

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

ObtainData() public method

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