C_CreateClone3

Call C_CreateClone3 to create new objects that are clones of an existing collections of objects. The newly created cloned objects will have identical data to the source objects.

void C_CreateClone3(

TOrcFxAPIHandle SourceModelHandle,

int SourceObjectCount,

TOrcFxAPIHandle *lpSourceObjectHandles,

TOrcFxAPIHandle DestModelHandle,

int *lpStatus

);

Parameters

SourceModelHandle (IN)

The handle to the model which contains the objects to be cloned.

SourceObjectCount (IN)

The number of objects to be cloned.

lpSourceObjectHandles (IN)

A pointer to an array of length SourceObjectCount which contains the handles of the objects to be cloned.

DestModelHandle (IN)

The handle to the model in which the newly cloned object is created. If NULL is passed then the new object will be created in the same model as the source objects.

lpStatus (OUT)

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

Remarks

If you are maintaining a list of objects associated with this model handle, you must update it to include the new objects created by this procedure.

See also

C_CreateClone, C_CreateClone2, C_CreateObject, C_DestroyObject.