API Documentation > Drawings and detail > Object ProDrawing > Function ProDrawingViewDetailCreate
Function ProDrawingViewDetailCreate
Description
Create a detailed view
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawingView.h>
ProDrawingViewDetailCreate
(
ProDrawing drawing
/* (In)
Drawing handle
*/
ProView parent_view
/* (In)
Parent view
*/
ProSelection ref_point
/* (In)
reference point on the parent view
*/
ProCurvedata* curve_data
/* (In)
spline curve data (see Notes: below)
*/
ProPoint3d location
/* (In)
location of the new view
*/
ProView* view
/* (Out)
New detailed view Notes: The curve_data spline is in world space, and must enclose the reference point (in world space, on the parent view). In particular, if you have a spline from another detail view retrieved by ProDrawingViewDetailCurvedataGet, and wish to make this detail view with 'the same spline shape', driven by a different reference point in the same parent view, you would scale that spline by inches-to-top-model-units, and scale it by model-to-world, and translate it by the new reference point (in world space, on the parent view).
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The detail view could not be created
User Guide References
Was this helpful?