C# Class Revit.SDK.Samples.MultiplanarRebar.CS.CorbelFrame

It represents the frame of Corbel, which is consist of a trapezoid profile and a extrusion line. Corbel can be constructed by sweeping a trapezoid profile along the extrusion line.
Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CorbelFrame ( FamilyInstance corbel, Trapezoid profile, System.Line path, double hostDepth, double hostTopCorverDistance ) : System

Constructor to initialize the fields.

Parse ( FamilyInstance corbel ) : CorbelFrame

Parse the geometry of given Corbel and create a CorbelFrame if the corbel is slopped, otherwise exception thrown.

Reinforce ( CorbelReinforcementOptions rebarOptions ) : void

Add bars to reinforce the Corbel FamilyInstance with given options. The bars including: a multi-planar bar, top straight bars, stirrup bars, and host straight bars.

Private Methods

Method Description
PlaceCorbelHostBars ( CorbelReinforcementOptions options ) : void

Add straight bars into corbel Host to anchor corbel stirrup bars.

PlaceMultiplanarRebar ( CorbelReinforcementOptions options ) : void

Add a multi-planar bar into corbel with given options.

PlaceStirrupBars ( CorbelReinforcementOptions options ) : void

Add stirrup bars into corbel with given options.

PlaceStraightBars ( CorbelReinforcementOptions options ) : void

Add straight bars into corbel with given options.

ShowRebar3d ( Rebar rebar ) : void

Show the given rebar as solid in 3d view.

Method Details

CorbelFrame() public method

Constructor to initialize the fields.
public CorbelFrame ( FamilyInstance corbel, Trapezoid profile, System.Line path, double hostDepth, double hostTopCorverDistance ) : System
corbel FamilyInstance Corbel family instance
profile Trapezoid Trapezoid profile
path System.Line Extrusion Line
hostDepth double Corbel Host Depth
hostTopCorverDistance double Corbel Host cover distance
return System

Parse() public static method

Parse the geometry of given Corbel and create a CorbelFrame if the corbel is slopped, otherwise exception thrown.
public static Parse ( FamilyInstance corbel ) : CorbelFrame
corbel FamilyInstance Corbel to parse
return CorbelFrame

Reinforce() public method

Add bars to reinforce the Corbel FamilyInstance with given options. The bars including: a multi-planar bar, top straight bars, stirrup bars, and host straight bars.
public Reinforce ( CorbelReinforcementOptions rebarOptions ) : void
rebarOptions CorbelReinforcementOptions Options for Rebar Creation
return void