Click or drag to resize

APIaddOrChangeMaterialProperty Method

Add or modify a custom property of the selected material
REST path: /material/prop/[ID]/[name]/[value]/[units]
REST verb: POST

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public bool addOrChangeMaterialProperty(
	int ID,
	string name,
	string value,
	string units = ""
)

Parameters

ID  Int32
ID of the material
name  String
Name of the property
value  String
Value of the property as a string (including name, code, etc.). Value must use . as decimal separator
units  String  (Optional)
Optional. Units of measure for property value

Return Value

Boolean
True if successful
Remarks
Units eventually specified for built-in values (E,ni,G,Wden,Mden,alphaT,etc.) will be neglected. Model units are used instead.
See Also