Category Drawings and detail, Object ProDrawing

Function ProDrawingSolidDelete


Description
Deletes the specified model from the drawing.
Replacement in Object TOOLKIT: pfcModel2D::DeleteModel
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingSolidDelete(
ProDrawing drawing
/* (In)
The drawing
*/
ProSolid solid
/* (In)
The model to delete
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully deleted the model.
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 model is NULL.
PRO_TK_E_NOT_FOUNDThe function failed because the specified model is not in the drawing.
PRO_TK_E_IN_USEThe function failed because the specified model is referenced by a view.

Manual References:

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

Sample Code References:

  1. pt_userguide ( UgModelDelete.c )