Documentação da API > Drawings and detail > Object ProDrawing > Function ProDrawingGeneralviewCreate
Function ProDrawingGeneralviewCreate
Description
Creates a nonparametric general drawing view.
NOTE:Display the drawing using ProMdlDisplay() before calling this function.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingGeneralviewCreate
(
ProDrawing drawing
/* (In)
The drawing.
*/
ProSolid solid
/* (In)
The drawing model of which to create the view
*/
int sheet_number
/* (In)
The number of the sheet on which to place the view
*/
ProBoolean exploded
/* (In)
Set to TRUE to make an exploded view of an assembly model.
*/
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.
*/
ProMatrix orientation
/* (In)
The orientation of the model in the view
*/
ProView* view
/* (Out)
The view.
*/
)
Returns
The function succeeded.
Model is in read-only state.
One or more input arguments was invalid, or the drawing was not displayed.
The specified sheet does not exist.
The specified model is not in the list of drawing models, or the function cannot make the specified view of this model.
The function cannot explode the view model.
A miscellaneous error occured, and the function failed.
Sample Code References
User Guide References
Isto foi útil?