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

The class derived form FramReinMaker showes how to create the rebars for a column
Inheritance: FramReinMaker
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

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

Constructor of the ColumnFramReinMaker

FillTransverseBar ( TransverseRebarLocation location ) : Rebar

Create the transverse rebars, according to the transverse rebar location

FillTransverseBars ( ) : bool

create the transverse rebars for the column

FillVerticalBar ( VerticalRebarLocation location ) : Rebar

Create the vertical rebar according the location

Protected Methods

Method Description
AssertData ( ) : bool

Override method to do some further checks

DisplayForm ( ) : bool

Display a form to collect the information for column reinforcement creation

FillWithBars ( ) : bool

Override method to create rebars on the selected column

Private Methods

Method Description
FillVerticalBars ( ) : bool

create the all the vertial rebar

Method Details

AssertData() protected method

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

ColumnFramReinMaker() public method

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

DisplayForm() protected method

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

FillTransverseBar() public method

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

FillTransverseBars() public method

create the transverse rebars for the column
public FillTransverseBars ( ) : bool
return bool

FillVerticalBar() public method

Create the vertical rebar according the location
public FillVerticalBar ( VerticalRebarLocation location ) : Rebar
location VerticalRebarLocation location of rebar which need to be created
return Rebar

FillWithBars() protected method

Override method to create rebars on the selected column
protected FillWithBars ( ) : bool
return bool