Click or drag to resize

APIaddLongitRebar Method

Add a longitudinal rebar to a member (beam, column or wall)
REST path: /element/rebar/long/[elem]/[X]/[Y]/[area]/[matID]/[Linit]/[Lfin]/[rectBase]/[strandTens]
REST verb: GET

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public bool addLongitRebar(
	string elem,
	double X,
	double Y,
	double area,
	int matID,
	double Linit,
	double Lfin,
	double rectBase = 0,
	double strandTens = 0
)

Parameters

elem  String
ID of the element
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
Linit  Double
Initial abscissa from 0 to 1
Lfin  Double
Final abscissa from 0 to 1
rectBase  Double  (Optional)
Optional. Rectangular width if layer is added instead of bar
strandTens  Double  (Optional)
Optional. Tension for strand

Return Value

Boolean
True is successful
Remarks
Bar 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