Click or drag to resize

APIcheckElement Method

Check a single element in a model against results.
REST path: /res/check/element/[elem]/[lc]/[t]/[stationType]/[verName]/[savelog]/[messages]
REST verb: GET
REST header: {"defaultParams", defaultParams},{"logPath", logPath}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public bool checkElement(
	string elem,
	string lc,
	string t,
	int stationType,
	string verName,
	bool savelog = false,
	bool messages = false,
	double[] defaultParams = null,
	ref string logPath = ""
)

Parameters

elem  String
ID of the element to be checked
lc  String
Loadcase containing results
t  String
Reference time for results. For linear analyses, use "1".
stationType  Int32
0 for 5 stations, 1 for 3 stations, 2 for I and J, 3 for I only, 4 for J only, 5 for M only, 6 for 1/4, 7 for 3/4, 8 for M and 1/4 and 3/4, 9 for 1/4 and 3/4
verName  String
Name of the checking to be used. E.g. "Steel EC3" or "EC2_Concrete". NVV files have underscore.
savelog  Boolean  (Optional)
Optionally, log file is written
messages  Boolean  (Optional)
Optionally, messages from checking engine are shown
defaultParams  Double  (Optional)
Optionally, parameters for checking
logPath  String  (Optional)
Optionally, returns path of the checking log file

Return Value

Boolean
True if checking is satisfied, False in any other case
Remarks
License needed for built-in checking, not needed for user scripts in "verification" folder
See Also