C# Class BuildingCoder.CmdWallProfile

Inheritance: IExternalCommand
Datei anzeigen Open project: jeremytammik/the_building_coder_samples Class Usage Examples

Public Methods

Method 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

Method 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 method

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

Execute1() public method

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
return System.Result

Execute2() public method

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
return System.Result

Execute3() public method

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
return System.Result

GetWallProfilePolygons() public static method

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
return List>