Category External objects, Object ProExtobj

Function ProExtobjCreate


Description
Creates a new external object.
Synopsis
#include <ProExtobj.h>
ProErrorProExtobjCreate(
ProExtobjClass* extobjclass
/* (In)
The handle to the external object class.
*/
ProModelitem* owner
/* (In)
The handle to the owner solid or item.
*/
ProExtobj* result_obj
/* (Out)
The handle to the newly created external object. You must have previously allocated the memory for this argument.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the external object.
PRO_TK_E_NOT_FOUNDThe external object class is not registered, or the owner was not found.
PRO_TK_GENERAL_ERRORThe external object creation was aborted.

Manual References:

  1. Event-driven Programming: External Objects: Creating External Objects
  2. Event-driven Programming: External Objects: Creating External Objects
  3. Event-driven Programming: External Objects: External Object Owners

Sample Code References:

  1. pt_examples ( TestExtobj.c )
  2. pt_userguide ( UgExtobjCreate.c )