C# Class Revit.SDK.Samples.Reinforcement.CS.ColumnGeometrySupport

The geometry support for reinforcement creation on conlumn. It can prepare the geometry information for transverse and vertical rebar creation
Inheritance: GeometrySupport
显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
ColumnGeometrySupport ( FamilyInstance element, Options geoOptions ) : System

constructor for the ColumnGeometrySupport

GetTransverseRebar ( TransverseRebarLocation location, double spacing ) : RebarGeometry

Get the geometry information of the transverse rebar

GetVerticalRebar ( VerticalRebarLocation location, int rebarNumber ) : RebarGeometry

Get the geometry information of vertical rebar

Private Methods

Method Description
GetColumnLength ( ) : double

Get the length of the column

GetColumnWidth ( ) : double

Get the width of the column

Method Details

ColumnGeometrySupport() public method

constructor for the ColumnGeometrySupport
public ColumnGeometrySupport ( FamilyInstance element, Options geoOptions ) : System
element FamilyInstance the column which the rebars are placed on
geoOptions Options the geometry option
return System

GetTransverseRebar() public method

Get the geometry information of the transverse rebar
public GetTransverseRebar ( TransverseRebarLocation location, double spacing ) : RebarGeometry
location TransverseRebarLocation the location of transverse rebar
spacing double the spacing value of the rebar
return RebarGeometry

GetVerticalRebar() public method

Get the geometry information of vertical rebar
public GetVerticalRebar ( VerticalRebarLocation location, int rebarNumber ) : RebarGeometry
location VerticalRebarLocation the location of vertical rebar
rebarNumber int the spacing value of the rebar
return RebarGeometry