Category Drawings and detail, Object ProDrawing

Function ProDrawingViewDetailCreate


Description
Create a detailed view
Synopsis
#include <ProDrawingView.h>
ProErrorProDrawingViewDetailCreate(
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
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThe detail view could not be created

Manual References:

  1. Drawings: Detailed Views
  2. Drawings: Detailed Views