Category Drawings and detail, Object ProDrawing

Function ProDrawingSolidAdd


Description
Adds the specified model to the drawing.
Replacement in Object TOOLKIT: pfcModel2D::AddModel
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingSolidAdd(
ProDrawing drawing
/* (In)
The drawing
*/
ProSolid solid
/* (In)
The model to add to the drawing
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added the model to 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_E_IN_USEThe function did nothing because the specified model already exists.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDrwView.c )
  2. pt_userguide ( UgDrawingViews.c )
  3. pt_userguide ( UgModelAdd.c )