 | APIaddLongitRebarInSection(Int32, Double, Double, Double, Int32, Double, Double) Method |
Add a longitudinal bar to a section
REST path: /section/rebar/long/[sectionID]/[X]/[Y]/[area]/[matID]/[rectBase]/[strandTens]
REST verb: GET
Namespace: NextFEMapiAssembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntaxpublic bool addLongitRebarInSection(
int sectionID,
double X,
double Y,
double area,
int matID,
double rectBase = 0,
double strandTens = 0
)
Public Function addLongitRebarInSection (
sectionID As Integer,
X As Double,
Y As Double,
area As Double,
matID As Integer,
Optional rectBase As Double = 0,
Optional strandTens As Double = 0
) As Boolean
Dim instance As API
Dim sectionID As Integer
Dim X As Double
Dim Y As Double
Dim area As Double
Dim matID As Integer
Dim rectBase As Double
Dim strandTens As Double
Dim returnValue As Boolean
returnValue = instance.addLongitRebarInSection(sectionID,
X, Y, area, matID, rectBase, strandTens)
public:
bool addLongitRebarInSection(
int sectionID,
double X,
double Y,
double area,
int matID,
double rectBase = 0,
double strandTens = 0
)
member addLongitRebarInSection :
sectionID : int *
X : float *
Y : float *
area : float *
matID : int *
?rectBase : float *
?strandTens : float
(* Defaults:
let _rectBase = defaultArg rectBase 0
let _strandTens = defaultArg strandTens 0
*)
-> bool
Parameters
- sectionID Int32
- ID of the section
- X Double
- X coordinate in transversal section
- Y Double
- Y coordinate in transversal section
- area Double
- Area of the rebar
- matID Int32
- ID of the associated design material
- rectBase Double (Optional)
- Optional. Rectangular width if layer is added instead of bar
- strandTens Double (Optional)
- Optional. Tension for strand
Return Value
BooleanBar is added if area is bigger of the eventual bar in the same position. To avoid this, clear rebar prior to use this command
See Also