C_ExchangeObjects

C_ExchangeObjects changes the order in which objects appear in their containing list by exchanging them. This function can be used to implement sorting functions that can re-order objects in a model according to, for example, their names.

void C_ExchangeObjects(

TOrcFxAPIHandle ObjectHandle1,

TOrcFxAPIHandle ObjectHandle2,

int *lpStatus

);

Parameters

ObjectHandle1 (IN)

The handle to the first object.

ObjectHandle2 (IN)

The handle to the second object.

lpStatus (OUT)

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