Category Drawings and detail, Object ProDrawing

Function ProDrawingFormatGet


Description
Outputs the name of the drawing format for the specified sheet.
Replacement in Object TOOLKIT: pfcSheetOwner::GetSheetFormat
pfcSheetOwner::GetSheetFormatDescr
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingFormatGet(
ProDrawing drawing
/* (In)
The drawing
*/
int sheet
/* (In)
The sheet number
*/
ProName format_name
/* (Out)
The name of the drawing sheet's format
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_E_NOT_FOUNDFormat for the sheet was not found.
PRO_TK_BAD_INPUTSOne or more of the arguments is invalid.
PRO_TK_E_NOT_EXISTA user-defined format does not exist for the sheet.

Manual References:

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

Sample Code References:

  1. pt_userguide ( UgDrawingSheets.c )