Click or drag to resize

APIfunctionFromFile Method

Load a function from text file.
REST path: /function/fromfile/[type]
REST verb: GET
REST header: {"units",units}, {"path",filename}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public int functionFromFile(
	string filename,
	int type = 9,
	string units = ""
)

Parameters

filename  String
Path of the text file containing function to load
type  Int32  (Optional)
0 displacement TH, 1 velocity TH, 2 acceleration TH, 3 acceleration spectrum, 4 displacement spectrum
units  String  (Optional)
Units of measure for data in ordinate (Y)

Return Value

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