Category External objects, Object ProSeldat

Function ProSeldatSelboxesSet


Description
Sets the selection data with a list of selection boxes. The selection boxes are specified in the local coordinates of the external object. The transformation matrix of the display data transforms them to model coordinates. See the function ProDispdatTrfSet() for more information on the transformation.
Replacement in Object TOOLKIT: wfcExternalObject::AddData
wfcExternalObject::ModifyData
Synopsis
#include <ProExtobjSel.h>
ProErrorProSeldatSelboxesSet(
ProWExtobjdata sel_data
/* (In)
The selection data
*/
ProSelbox* sel_boxes
/* (In)
The list of selection boxes
*/
int box_num
/* (In)
The number of selection boxes
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the information.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThe function could not set the specified information.
See Also
ProDispdatTrfSet

Manual References:

  1. Event-driven Programming: External Objects: Selection Data for External Objects
  2. Event-driven Programming: External Objects: Selection Data for External Objects

Sample Code References:

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