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

The geometry support for reinforcement creation on beam. It can prepare the geometry information for top rebar, bottom and transverse rebar creation
Inheritance: GeometrySupport
ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

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

constructor

GetBottomRebar ( ) : RebarGeometry

Get the geometry information of bottom rebar

GetDownDirection ( ) : Autodesk.Revit.DB.XYZ

Get the down direction, which stand for the top hook direction

GetTopRebar ( TopRebarLocation location ) : RebarGeometry

Get the geometry information for top rebar

GetTransverseRebar ( TransverseRebarLocation location, double spacing ) : RebarGeometry

Get the geometry information of transverse rebar

Private Methods

Method Description
GetBeamHeight ( ) : double

Get the height of the beam

GetBeamWidth ( ) : double

Get the width of the beam

Method Details

BeamGeometrySupport() public method

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

GetBottomRebar() public method

Get the geometry information of bottom rebar
public GetBottomRebar ( ) : RebarGeometry
return RebarGeometry

GetDownDirection() public method

Get the down direction, which stand for the top hook direction
public GetDownDirection ( ) : Autodesk.Revit.DB.XYZ
return Autodesk.Revit.DB.XYZ

GetTopRebar() public method

Get the geometry information for top rebar
public GetTopRebar ( TopRebarLocation location ) : RebarGeometry
location TopRebarLocation indicate where top rebar is placed
return RebarGeometry

GetTransverseRebar() public method

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