MaterialObjectWrapperSetProp Method

Get some pure component constant(s)

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public void SetProp(
	string property,
	string phase,
	string[] compIds,
	string calcType,
	string basis,
	double[] values
)

Parameters

property  String
The Property for which results are requested from the MaterialObject.
phase  String
The qualified phase for the results.
compIds  String
The qualified components for the results. emptyObject to specify all components in the Material Object. For mixture property such as liquid enthalpy, this qualifier is not required. Use emptyObject as place holder.
calcType  String
The qualified type of calculation for the results. (valid Calculation Types: Pure and Mixture)
basis  String
Qualifies the basis of the result (i.e., mass /mole). Default is mole. Use NULL for default or as place holder for property for which basis does not apply (see also Specific properties.
values  Double
Values to set for the property.

Remarks

This method is responsible for setting the values for properties of the Material Object. See Notes for a more detailed explanation of the arguments.

Exceptions

ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.
ECapeInvalidArgumentTo be used when an invalid argument value is passed, for example, an unrecognised Compound identifier or UNDEFINED for the props argument.

See Also