Category Drawings and detail, Object ProDrawing

Function ProDrawingDtlgroupsCollect


Description
Collect groups in the specified drawing.
Replacement in Object TOOLKIT: pfcDetailItemOwner::ListDetailItems
pfcDetailSymbolDefItem::ListDetailItems
Synopsis
#include <ProDtlgroup.h>
ProErrorProDrawingDtlgroupsCollect(
ProDrawing drawing
/* (In)
The drawing handle
*/
int sheet
/* (In)
The sheet number
*/
ProDtlgroup** groups
/* (Out)
The pointer to ProArray of ProDtlgroup handles. The function allocates memory for the array, user must release the memory using ProArrayFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully collected the groups.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_E_NOT_FOUNDNo groups were found.
PRO_TK_OUT_OF_MEMORYThe function found too many entities to be contained in the output ProArray. Use ProDrawingDtlgroupVisit instead.

Manual References:

  1. Drawings: Listing Detail Items
  2. Drawings: Listing Detail Items

Sample Code References:

  1. pt_examples ( TestDtlgroup.c )
  2. pt_examples ( TestDtlgroup.c )
  3. pt_examples ( TestDtlgroup.c )