Click or drag to resize

APIaddSeriesFunction Method

Add a time series function to the model
REST path: /function/add/[type]
REST verb: GET
REST header: {"x",Xlist}, {"y",Ylist}, {"units",units}, {"name", name}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.8.2.4 (2.8.2.4)
Syntax
public int addSeriesFunction(
	double[] Xlist,
	double[] Ylist,
	int type,
	string units = "",
	string name = ""
)

Parameters

Xlist  Double
Array of times/periods
Ylist  Double
Array of values, same size of Xlist
type  Int32
0 displacement TH, 1 velocity TH, 2 acceleration TH, 3 acceleration spectrum, 4 displacement spectrum, 5 lateral forces vs. height, 6 vertical forces vs. lenght, 7 time-temperature, 8 strength-temperature, 9 user type
units  String  (Optional)
Optional. Units of measure for data in ordinate (Y)
name  String  (Optional)
Optional. Name of the function

Return Value

Int32
The ID of the time series, -1 in case of errors
See Also