Category Selection, Object ProSelection

Function ProSelectionSet


Description
Sets the model item (and optionally a component path) for a selection object.
Replacement in Object TOOLKIT: pfcSelection::SelItem
pfcSelection::Path
Synopsis
#include <ProSelection.h>
ProErrorProSelectionSet(
ProSelection selection
/* (In)
The selection object
*/
ProAsmcomppath* p_cmp_path
/* (In)
The component path (can be null)
*/
ProModelitem* p_mdl_itm
/* (In)
The model item
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the component path.
PRO_TK_BAD_INPUTSThe supplied inputs were incorrect.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Techniques of Conversion and Mixing
  2. User Interface: Selection: The Selection Object
  3. User Interface: Selection: Building a ProSelection Object
  4. User Interface: Selection: ProSelection Function Examples

Sample Code References:

  1. pt_examples ( TestSelect.c )
  2. pt_examples ( TestSelect.c )
  3. pt_examples ( TestSelect.c )
  4. pt_examples ( TestSelect.c )
  5. pt_userguide ( UgGeomChildDisp.c )