Click or drag to resize

APIaddSectionByPoints Method

Add a section by points. x() and y() are the 1st series of points (filled figure). If a cold-formed section is added, specify optional parameters.
REST path: /section/add/bypoints/[CF_tw]/[CF_rc]/[material]/[doNotCenter]
REST verb: GET
REST header: {"x",x},{"y",y}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public int addSectionByPoints(
	double[] x,
	double[] y,
	double CF_tw = 0,
	double CF_rc = 0,
	int material = 0,
	bool doNotCenter = false
)

Parameters

x  Double
Array of x coordinates
y  Double
Array of y coordinates
CF_tw  Double  (Optional)
Optional, thickness of a cold-formed section
CF_rc  Double  (Optional)
Optional, radius of curvature of a cold-formed section
material  Int32  (Optional)
Optional, ID of the section material
doNotCenter  Boolean  (Optional)
Optional, avoid section centering

Return Value

Int32
The ID assigned to the section.
See Also