Category Drawings and detail, Object ProDrawing

Function ProDrawingSolidsCollect


Description
Retrieves an array of pointers to the models that belong to a drawing.

NOTES:

A model is in a drawing if it has been explicitly added by the user. For assemblies, only the root assembly appears in the list.

Replacement in Object TOOLKIT: pfcModel2D::ListModels
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingSolidsCollect(
ProDrawing drawing
/* (In)
The drawing.
*/
ProSolid** solids
/* (Out)
A list of models. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_BAD_INPUTSOne or more arguments was invalid
PRO_TK_E_NOT_FOUNDNo drawing models were found

Manual References:

  1. Drawings: Drawing Models
  2. Drawings: Drawing Models

Sample Code References:

  1. pt_examples ( TestDrwInfo.c )
  2. pt_userguide ( UgDrawingSolidReplace.c )
  3. pt_userguide ( UgUIListImplement.c )