Category Drawings and detail, Object ProDrawing

Function ProDrawingScaleGet


Description
Retrieves the scale of the model on the specified sheet of the drawing.
Replacement in Object TOOLKIT: pfcSheetOwner::GetSheetScale
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingScaleGet(
ProDrawing drawing
/* (In)
The drawing.
*/
ProSolid solid
/* (In)
The model in the drawing. If this is NULL, the function uses the default model in the drawing. If there is no model, the function sets the scale to 1.0.
*/
int sheet
/* (In)
The sheet number. If the value is less than 1, the function uses the current sheet.
*/
double* scale
/* (Out)
The scale of the model in the drawing.
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_BAD_INPUTSOne or more of the arguments is invalid.
PRO_TK_GENERAL_ERRORFailure

Manual References:

  1. Drawings: Listing Drawing Views
  2. Drawings: Listing Drawing Views

Sample Code References:

  1. pt_examples ( TestDrwSheets.c )