Category Drawings and detail, Object ProDrawing

Function ProDrawingAsmsimprepDelete


Description
Deletes the specified simplified representation from the drawing.
Replacement in Object TOOLKIT: pfcModel2D::DeleteSimplifiedRep
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingAsmsimprepDelete(
ProDrawing drawing
/* (In)
The drawing handle
*/
ProSimprep* simp_rep
/* (In)
The simplified representation
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully deleted the simplified representation from the drawing.
PRO_TK_GENERAL_ERRORThe function failed because of an internal error.
PRO_TK_BAD_INPUTSThe function failed because one or more of the input arguments are invalid.
PRO_TK_BAD_CONTEXTThe function did nothing because the simplified representation is null.
PRO_TK_E_NOT_FOUNDThe function failed because the specified simplified representation is not in the drawing.
PRO_TK_E_IN_USEThe function failed because the specified model and simplified representation are referenced by another view in the drawing.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDrwSimprep.c )