Category Selection, Object ProSelbuffer

Function ProSelbufferSelectionsGet


Description
Get contents of the active selection buffer
Replacement in Object TOOLKIT: pfcSelectionBuffer::Contents
Synopsis
#include <ProSelbuffer.h>
ProErrorProSelbufferSelectionsGet(
ProSelection** ret_buff
/* (Out)
ProArray of ProSelection. Free this array using ProSelectionarrayFree.
*/
)
Returns
PRO_TK_NO_ERRORbuffer is in session and was returned.
PRO_TK_BAD_INPUTSThe argument was invalid (NULL).
PRO_TK_CANT_ACCESSThere is no Object/Action selection tool active.
PRO_TK_E_NOT_FOUNDThere are no objects in the current selection tool.

Manual References:

  1. User Interface: Menus, Commands, and Popupmenus: Adding a Button to the Model Tree Popup Menu
  2. Annotations: Annotation Features and Annotations: Interactive Selection
  3. User Interface: Selection: Reading the Contents of the Selection Buffer
  4. User Interface: Selection: Reading the Contents of the Selection Buffer
  5. User Interface: Selection: Removing the Items from the Selection Buffer

Sample Code References:

  1. pt_af_examples ( PTAEToChamfer.c )
  2. pt_af_examples ( PTAEToChamfer.c )
  3. pt_af_examples ( PTAEToDraft.c )
  4. pt_af_examples ( PTAEToDraft.c )
  5. pt_af_examples ( PTAEToRound.c )
  6. pt_af_examples ( PTAEToRound.c )
  7. pt_af_examples ( PTAFExNotesToPlane.c )
  8. pt_af_examples ( PTAFExNotesToPlane.c )
  9. pt_af_examples ( PTAFExampleUtils.c )
  10. pt_af_examples ( PTAFExampleUtils.c )
  11. pt_af_examples ( PTAFNotesUpdate.c )
  12. pt_af_examples ( PTAFNotesUpdate.c )
  13. pt_userguide ( UgAsmcompConstraint.c )
  14. pt_userguide ( UgAsmcompConstraint.c )
  15. pt_userguide ( UgOADraftCreate.c )
  16. pt_userguide ( UgSmtExtendWallCreate.c )
  17. pt_userguide ( UgSmtExtendWallCreate.c )
  18. pt_userguide ( UgSmtFlatWallCreate.c )
  19. pt_userguide ( UgSmtFlatWallCreate.c )
  20. pt_userguide ( UgSmtFlatWallCreate.c )
  21. pt_userguide ( UgSmtFlgWallCreate.c )
  22. pt_userguide ( UgSmtFlgWallCreate.c )
  23. pt_userguide ( UgSmtFlgWallCreate.c )
  24. pt_userguide ( UgXMLFeat.c )
  25. pt_userguide ( UgXMLFeat.c )
  26. pt_userguide ( UgMaterial.c )
  27. pt_userguide ( UgMaterial.c )
  28. pt_userguide ( UgSolidInfoMass.c )
  29. pt_userguide ( UgSolidInfoMass.c )