cPropMaterial GetWeightAndMass Method CSi API ETABS 2015
Retrieves the weight per unit volume and mass per unit volume of the material.

Namespace: ETABS2015
Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
Syntax

int GetWeightAndMass(
	string Name,
	ref double W,
	ref double M,
	double Temp = 0
)

Parameters

Name
Type: OnlineSystem String
The name of an existing material property.
W
Type: OnlineSystem Double 
M
Type: OnlineSystem Double 
Temp (Optional)
Type: OnlineSystem Double
the temperature at which the specified data is to be retrieved.

This item applies only if the specified material has properties that are temperature dependent. That is, it applies only if properties are specified for the material at more than one temperature.

Return Value

Returns zero if the data is successfully retrieved; otherwise it returns a nonzero value.
Remarks

Examples

See Also