CalcSetStreamFeed

Top  Previous  Next

This function is used to define the composition used in a calculation.

 

Note that the units expected by the dll can be altered by using SetUnits

 

This function is used to write all the distribution of a component to the dll

 

 

This function is defined in C++ as:

extern "C" __declspec(dllexport) int __stdcall CalcSetStreamFeed(int Stream, int ComponentIndex, double Value)

 

Return

The function return -1 if no problem was found. If a different number is returned check the argument ErrorString for more information.

 

Input

Argument

Type

Description

Stream

int

Index of the stream. Valid range are 0-9

ComponentIndex

int

Component index where the feed value is to be written

Value

double

Feed value.

 

Code examples

Example