Category Selection, Object ProSelection

Function ProSelectionDrawingGet


Description
For a ProSelection representing a entities selected in a drawing returns the drawing model handle from which the entities were selected
Replacement in Object TOOLKIT: pfcSelection::SelModel
pfcSelection::SelView2D
Synopsis
#include <ProSelection.h>
ProErrorProSelectionDrawingGet(
ProSelection selection
/* (In)
ProSelection representing an entity selected in a drawing
*/
ProDrawing * drawing
/* (Out)
The drawing model handle from which the selection was made
*/
)
Returns
PRO_TK_BAD_INPUTSinvalid inputs
PRO_TK_E_NOT_FOUNDno associated drawing found
PRO_TK_NO_ERRORSuccessfully in finding the drawing for the selection

Manual References:

  1. User Interface: Selection: The Selection Object
  2. User Interface: Selection: Unpacking a ProSelection Object