Click or drag to resize

APIgetMaterialProperty Method

Return selected property from a material
REST path: /material/prop/[ID]/[name]
REST verb: GET
REST header: {"units", units}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public string getMaterialProperty(
	string ID,
	string name,
	ref string units = ""
)

Parameters

ID  String
Material ID
name  String
Name of the property: alphaT, behaviour, code, E, G, fk, ni, Mden, Wden, type
units  String  (Optional)
String supplied to function to eventually convert units of returned value

Return Value

String
The requested value as string. Empty in case of error
Remarks
"Type" returns: Steel = 1, Aluminium = 2, Concrete = 3, Timber = 4, Masonry = 5, TensionFragile = 6, 0 otherwise
See Also