Category Drawings and detail, Object ProDrawing

Function ProDrawingSimprepsCollect


Description
Returns the number of simplified representations that belong to the specified model and that are referenced by the specified drawing.
Replacement in Object TOOLKIT: pfcModel2D::ListSimplifiedReps
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingSimprepsCollect(
ProDrawing drawing
/* (In)
The drawing handle
*/
ProSolid solid
/* (In)
The model handle
*/
ProSimprep** simpreps
/* (Out)
The list of simplified representations. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_GENERAL_ERRORFailure (NULL drawing or solid, invalid drawing, model not referenced by drawing, or bad input.)

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDrwInfo.c )
  2. pt_examples ( TestDrwSimprep.c )