Category Drawings and detail, Object ProDrawing

Function ProDrawingAsmsimprepAdd


Description
Adds the specified simplified representation to the drawing.
Replacement in Object TOOLKIT: pfcModel2D::AddSimplifiedRep
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingAsmsimprepAdd(
ProDrawing drawing
/* (In)
The drawing handle
*/
ProSimprep* simp_rep
/* (In)
The the simplified representation
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added the simplified representation to the drawing.
PRO_TK_GENERAL_ERRORThe simplified representation was not added to the drawing.
PRO_TK_BAD_INPUTSThe function failed because one or more of the input arguments are invalid.
PRO_TK_E_FOUNDThe function did nothing because the specified simplified representation already exists.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDrwSimprep.c )