Category Drawings and detail, Object ProDrawing

Function ProDrawingFlatPlyViewCreate


Description
Creates a flat ply view in specified drawing. Drawing must be displayed.
Synopsis
#include <ProDrawingView.h>
ProErrorProDrawingFlatPlyViewCreate(
ProDrawing drawing
/* (In)
The drawing.
*/
ProSolid composite
/* (In)
The solid. Must be composite solid.
*/
int sheet_number
/* (In)
sheet - Reserved for future use.
*/
ProPly ply
/* (In)
active ply
*/
ProPoint3d position
/* (In)
The position of the view on the screen
*/
double scale
/* (In)
If scale >0, the view has an associated scale. If scale<=0, the view has the default scale.
*/
ProView* view
/* (Out)
The view.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORA miscellaneous error occurred, and the function failed.
PRO_TK_BAD_CONTEXTDrawing is not displayed.

Manual References:

  1. Composite Design: Ply Objects
  2. Composite Design: Ply Objects