Click or drag to resize

APIgetSectionResMoments2 Method

Get flexural strength of a section by calculating neutral axis. Material must be set as section property, see setSectionMaterial.
REST path: /op/sectioncalc/c/[sectionID]/[calcType]/[N]/[Mzz]/[Myy]/[domainTp]/[Nserv]/[Mzzserv]/[Myyserv]
REST verb: GET
REST header: {"saveImages", saveImages}, {"options", options}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public string[] getSectionResMoments2(
	int sectionID,
	int calcType,
	double N,
	double Mzz,
	double Myy,
	string saveImages = "",
	int domainTp = 0,
	APIcheck options = null,
	double Nserv = 0,
	double Mzzserv = 0,
	double Myyserv = 0
)

Parameters

sectionID  Int32
ID of the section
calcType  Int32
0 plastic, 1 elastic, 2 thermal-plastic, 3 thermal-elastic, 4 elastic limit, 5 thermal-elastic limit
N  Double
Axial force. Positive for tension
Mzz  Double
Moment around horizontal section axis
Myy  Double
Moment around vertical section axis
saveImages  String  (Optional)
Path for saving images of calculated section and domain, in PNG format. Only path a filename is required, no extension.
domainTp  Int32  (Optional)
Optional. Domain type for image: 0 for Myy_Mzz, 1 for N_Myy, 2 for N_Mzz
options  APIcheck  (Optional)
Optional. Calculation options
Nserv  Double  (Optional)
Optional. Serviceability axial force. Positive for tension
Mzzserv  Double  (Optional)
Optional. Serviceability Mzz
Myyserv  Double  (Optional)
Optional. Serviceability Myy

Return Value

String
An array of strings containing calculation results
Remarks
Domain in stored in cache
See Also