Category Drawings and detail, Object ProDrawing

Function ProDrawingCurrentsolidSet


Description
Sets the current drawing solid model for the drawing. To see changes to parameters and fields reflecting the change of the current solid model, regenerate the drawing using ProDwgSheetRegenerate().
Replacement in Object TOOLKIT: pfcModel2D::SetCurrentSolid
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingCurrentsolidSet(
ProDrawing drawing
/* (In)
The drawing handle.
*/
ProSolid solid
/* (In)
The current solid model.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_E_NOT_FOUNDThe solid is not included in the drawing.

Manual References:

  1. Drawings: Drawing Models