Category Drawings and detail, Object ProDrawing

Function ProDrawingFormatAdd


Description
Adds or replaces a drawing format in a drawing.
Replacement in Object TOOLKIT: pfcSheetOwner::SetSheetFormat
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingFormatAdd(
ProDrawing drawing
/* (In)
The drawing. Set this to NULL for the current drawing.
*/
int drawing_sheet
/* (In)
The sheet number of the drawing. Set this to a value less than 1 for the current sheet.
*/
ProSolid solid
/* (In)
The model.
*/
ProMdl format
/* (In)
The drawing format.
*/
int format_sheet
/* (In)
The sheet number of the drawing format. Set this to a value less than 1 for the first format sheet.
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_GENERAL_ERRORFailure

Manual References:

  1. Drawings: Drawing Sheets
  2. Drawings: Drawing Sheets

Sample Code References:

  1. pt_examples ( TestDrwSheets.c )