Category External objects, Object ProExtobj

Function ProExtobjOwnerobjSet


Description
Sets the owner of an existing external object.
Synopsis
#include <ProExtobj.h>
ProErrorProExtobjOwnerobjSet(
ProExtobj* object
/* (In)
The handle to the external object
*/
ProExtobjClass* extobjclass
/* (In)
The handle to the external object class
*/
ProModelitem* owner
/* (In)
The handle to the owner solid or item
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the owner.
PRO_TK_E_NOT_FOUNDThe owner was not found.
PRO_TK_GENERAL_ERRORThe external object was not found, or the function could not set the owner.

Manual References:

  1. Event-driven Programming: External Objects: External Object Owners

Sample Code References:

  1. pt_examples ( TestExtobj.c )