Click or drag to resize

APIaddDesMaterial Method

Add a design material from scratch. Uniaxial type is required (e.g. rebar, FRP, etc.)
REST path: /material/add/des/[name]/[E]/[fk]/[ni]/[type]
REST verb: GET

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public int addDesMaterial(
	string name,
	double E,
	double fk,
	double ni = 0,
	int type = 0
)

Parameters

name  String
Name of the new design material
E  Double
Young's modulus
fk  Double
Characteristic strength
ni  Double  (Optional)
Optional. Poisson's ratio
type  Int32  (Optional)
Optional. Integer to set materal type for checking: 1 steel, aluminium 2, concrete 3, timber 4, masonry 5, tensionFragile 6

Return Value

Int32
ID of the added material
See Also