Category Selection, Object ProSelection

Function ProSelectionCollectionGet


Description
Get the ProCollection object from a ProSelection.
Replacement in Object TOOLKIT: wfcWSelection::GetCollection
Synopsis
#include <ProSelection.h>
ProErrorProSelectionCollectionGet(
ProSelection sel
/* (In)
The selection object
*/
ProCollection* collection
/* (Out)
The collection object
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_INVALID_TYPEThe selection object does not contain a collection.
PRO_TK_INVALID_PTRThe selection object contains a chain, but this chain reference is no longer valid. Chain references contained in ProSelections are only valid for as long as the chain is selected in the selection buffer.
See Also
ProSelbufferCollectionAdd

Manual References:

  1. User Interface: Curve and Surface Collection: Accessing Collection object from Selection Buffer
  2. User Interface: Selection: Reading the Contents of the Selection Buffer
  3. User Interface: Selection: Reading the Contents of the Selection Buffer

Sample Code References:

  1. pt_userguide ( UgOADraftCreate.c )
  2. pt_userguide ( UgSmtFlgWallCreate.c )
  3. pt_userguide ( UgSmtFlgWallCreate.c )
  4. pt_userguide ( UgSmtFlgWallCreate.c )