API 설명서 > Drawings and detail > Object ProDrawing > Function ProDrawingProjectedviewCreate
Function ProDrawingProjectedviewCreate
Description
Creates a projected drawing view. The projection view parent must be any of the following types: broken, unfolded xsec, align xsec, of surface, or of flat ply.
NOTE:Display the drawing using ProMdlDisplay() before calling this function.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingProjectedviewCreate
(
ProDrawing drawing
/* (In)
The drawing.
*/
ProView parent_view
/* (In)
The parent 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
*/
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 parent view for project does not exist, or is of unsupported type, or does not align with the selected position.
The function cannot explode the view model.
A miscellaneous error occured, and the function failed.
Sample Code References
User Guide References
도움이 되셨나요?