 | APIaddRebarPattern2 Method |
Adds rebars by pattern in the selected section.
Namespace:
NextFEMapi
Assembly:
NextFEMapi (in NextFEMapi.dll) Version: 1.8.1.0 (1.8.1.0)
Syntaxpublic bool addRebarPattern2(
int pattern,
int sectionID,
int numBars,
double rebCover,
int matID,
double area,
double netSpacing = 0
)
Public Function addRebarPattern2 (
pattern As Integer,
sectionID As Integer,
numBars As Integer,
rebCover As Double,
matID As Integer,
area As Double,
Optional netSpacing As Double = 0
) As Boolean
Dim instance As API
Dim pattern As Integer
Dim sectionID As Integer
Dim numBars As Integer
Dim rebCover As Double
Dim matID As Integer
Dim area As Double
Dim netSpacing As Double
Dim returnValue As Boolean
returnValue = instance.addRebarPattern2(pattern,
sectionID, numBars, rebCover, matID,
area, netSpacing)
public:
bool addRebarPattern2(
int pattern,
int sectionID,
int numBars,
double rebCover,
int matID,
double area,
double netSpacing = 0
)
member addRebarPattern2 :
pattern : int *
sectionID : int *
numBars : int *
rebCover : float *
matID : int *
area : float *
?netSpacing : float
(* Defaults:
let _netSpacing = defaultArg netSpacing 0
*)
-> bool
Parameters
- pattern
- Type: SystemInt32
Top=0, Bottom=1, Equal spacing=2, Wall=3 - sectionID
- Type: SystemInt32
ID of the section - numBars
- Type: SystemInt32
Number of bars to be placed - rebCover
- Type: SystemDouble
Rebar cover from the centre of the first bar to the border of the section. It applies in both directions - matID
- Type: SystemInt32
ID of the associated design material - area
- Type: SystemDouble
Area of each single rebar rebar - netSpacing (Optional)
- Type: SystemDouble
Spacing of net in walls. Effective only if pattern is 3.
Return Value
Type:
Boolean
See Also