C# Class BuildingCoder.CmdColumnRound

Inheritance: IExternalCommand
Mostrar archivo Open project: jeremytammik/the_building_coder_samples

Public Methods

Method Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
GetColumHeightFromLevels ( Element e ) : Double

Determine the height of a vertical column from its top and bottom level.

GetElementHeightFromBoundingBox ( Element e ) : Double

Determine the height of any given element from its bounding box.

Private Methods

Method Description
ContainsArc ( AnalyticalModel a ) : bool
IsColumn ( Element e ) : bool

Return true if the given Revit element looks like it might be a column family instance.

IsColumnRound ( FamilySymbol symbol ) : bool

Method Details

Execute() public method

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
return System.Result

GetColumHeightFromLevels() public method

Determine the height of a vertical column from its top and bottom level.
public GetColumHeightFromLevels ( Element e ) : Double
e Element
return Double

GetElementHeightFromBoundingBox() public method

Determine the height of any given element from its bounding box.
public GetElementHeightFromBoundingBox ( Element e ) : Double
e Element
return Double