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}, {"name", name}

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

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, 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