C# Class BuildingCoder.CmdWallProfile

Inheritance: IExternalCommand
Afficher le fichier Open project: jeremytammik/the_building_coder_samples Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( ExternalCommandData cd, string &msg, ElementSet els ) : System.Result
Execute1 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Original implementation published November 17, 2008: http://thebuildingcoder.typepad.com/blog/2008/11/wall-elevation-profile.html

Execute2 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Alternative implementation published January 23, 2015: http://thebuildingcoder.typepad.com/blog/2015/01/getting-the-wall-elevation-profile.html

Execute3 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Improved implementation by Alexander Ignatovich supporting curved wall with curved window, second attempt, published April 10, 2015:

GetWallProfilePolygons ( List walls, Options opt ) : List>

Return all wall profile boundary loop polygons for the given walls, offset out from the outer face of the wall by a certain amount.

Private Methods

Méthode Description
GetProfile ( List polygons, Solid solid, XYZ v, XYZ w ) : bool

Determine the elevation boundary profile polygons of the exterior vertical planar face of the given wall solid.

SetModelCurvesColor ( ModelCurveArray modelCurves, View view, System.Color color ) : void

Method Details

Execute() public méthode

public Execute ( ExternalCommandData cd, string &msg, ElementSet els ) : System.Result
cd ExternalCommandData
msg string
els ElementSet
Résultat System.Result

Execute1() public méthode

Original implementation published November 17, 2008: http://thebuildingcoder.typepad.com/blog/2008/11/wall-elevation-profile.html
public Execute1 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result

Execute2() public méthode

Alternative implementation published January 23, 2015: http://thebuildingcoder.typepad.com/blog/2015/01/getting-the-wall-elevation-profile.html
public Execute2 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result

Execute3() public méthode

Improved implementation by Alexander Ignatovich supporting curved wall with curved window, second attempt, published April 10, 2015:
public Execute3 ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result

GetWallProfilePolygons() public static méthode

Return all wall profile boundary loop polygons for the given walls, offset out from the outer face of the wall by a certain amount.
public static GetWallProfilePolygons ( List walls, Options opt ) : List>
walls List
opt Options
Résultat List>