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

The class derived from FramReinMaker shows how to create the rebars for a beam
Inheritance: FramReinMaker
Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
BeamFramReinMaker ( ExternalCommandData commandData, FamilyInstance hostObject ) : System

Constructor of the BeamFramReinMaker

FillBottomBars ( ) : bool

Create the rebar at the bottom of beam

FillTransverseBar ( TransverseRebarLocation location ) : Rebar

Create the transverse rebars, according to the location of transverse rebars

FillTransverseBars ( ) : bool

Create the transverse rebars

Protected Methods

Method Description
AssertData ( ) : bool

Override method to do some further checks

DisplayForm ( ) : bool

Display a form to collect the information for beam reinforcement creation

FillWithBars ( ) : bool

Override method to create rebar on the selected beam

Private Methods

Method Description
FillTopBar ( TopRebarLocation location ) : Rebar

Create the rebar at the top of beam, according to the top rebar location

FillTopBars ( ) : bool

Create the rebar at the top of beam

GetTopHookOrient ( RebarGeometry geomInfo, TopRebarLocation location ) : RebarHookOrientation

Get the hook orient of the top rebar

Method Details

AssertData() protected method

Override method to do some further checks
protected AssertData ( ) : bool
return bool

BeamFramReinMaker() public method

Constructor of the BeamFramReinMaker
public BeamFramReinMaker ( ExternalCommandData commandData, FamilyInstance hostObject ) : System
commandData ExternalCommandData the ExternalCommandData reference
hostObject FamilyInstance the host beam
return System

DisplayForm() protected method

Display a form to collect the information for beam reinforcement creation
protected DisplayForm ( ) : bool
return bool

FillBottomBars() public method

Create the rebar at the bottom of beam
public FillBottomBars ( ) : bool
return bool

FillTransverseBar() public method

Create the transverse rebars, according to the location of transverse rebars
public FillTransverseBar ( TransverseRebarLocation location ) : Rebar
location TransverseRebarLocation location of rebar which need to be created
return Rebar

FillTransverseBars() public method

Create the transverse rebars
public FillTransverseBars ( ) : bool
return bool

FillWithBars() protected method

Override method to create rebar on the selected beam
protected FillWithBars ( ) : bool
return bool