Category Drawings and detail, Object ProDwgcreate

Function ProDwgcreateErrViewGet


Description
Returns the drawing view where the error occurred. This function is valid for the following error types: PRODWGCRTERR_EXPLODE_DOESNT_EXIST PRODWGCRTERR_MODEL_NOT_EXPLODABLE PRODWGCRTERR_SEC_NOT_PERP PRODWGCRTERR_NO_RPT_REGIONS PRODWGCRTERR_FIRST_REGION_USED PRODWGCRTERR_NOT_PROCESS_ASSEM PRODWGCRTERR_TEMPLATE_USED PRODWGCRTERR_SEC_NOT_PARALLEL PRODWGCRTERR_SIMP_REP_DOESNT_EXIST
Synopsis
#include <ProDrawing.h>
ProErrorProDwgcreateErrViewGet(
ProDrawing drawing
/* (In)
The instantiated drawing
*/
ProDwgcreateErrs errors
/* (In)
The errors table.
*/
int error_num
/* (In)
The error number.
*/
ProView* view
/* (Out)
The view, or NULL if the view was not created at all.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the view.
PRO_TK_BAD_INPUTSThe errors argument is invalid.
PRO_TK_E_NOT_FOUNDThe error specified by error_num was not found.
PRO_TK_INVALID_TYPEThe error specified by error_num was the wrong type for a view.

Manual References:

  1. Drawings: Diagnosing Drawing Creation Errors
  2. Drawings: Diagnosing Drawing Creation Errors