Category Drawings and detail, Object ProDwgcreate

Function ProDwgcreateErrObjNameGet


Description
Returns the name of the model entity which was not found or invalid. This function is valid for the following error types: PRODWGCRTERR_SAVED_VIEW_DOESNT_EXIST PRODWGCRTERR_X_SEC_DOESNT_EXIST PRODWGCRTERR_EXPLODE_DOESNT_EXIST PRODWGCRTERR_SEC_NOT_PERP PRODWGCRTERR_SEC_NOT_PARALLEL PRODWGCRTERR_SIMP_REP_DOESNT_EXIST
Synopsis
#include <ProDrawing.h>
ProErrorProDwgcreateErrObjNameGet(
ProDrawing drawing
/* (In)
The instantiated drawing
*/
ProDwgcreateErrs errors
/* (In)
The errors table.
*/
int error_num
/* (In)
The error number.
*/
ProName inv_obj_name
/* (Out)
The name of the invalid object, or NULL, if not applicable to this error type.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the invalid object name.
PRO_TK_BAD_INPUTSThe errors argument is invalid.
PRO_TK_E_NOT_FOUNDThe error specified by error_num was not found.

Manual References:

  1. Drawings: Diagnosing Drawing Creation Errors