C_GetWindComponents

Call C_GetWindComponents to get a list of wind components used in the model.

void C_GetWindComponents(

TOrcFxAPIHandle ModelHandle,

int *lpCount,

TWindComponent *lpWindComponents,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

lpCount (OUT)

Points to a variable in which the total number of wind components is returned.

lpWindComponents (OUT)

Points to a block of memory to receive the array of wind components.

To find out how much memory to allocate call C_GetWindComponents passing NULL as the lpWindComponents parameter and use the value returned in lpCount to determine how much memory to allocate. The array must be of length *lpCount.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See also

TWindComponent.