Category Drawings and detail, Object ProDrawing

Function ProDrawingViewDetailCurvedataGet


Description
Get spline for detail view parent
Synopsis
#include <ProDrawingView.h>
ProErrorProDrawingViewDetailCurvedataGet(
ProDrawing drawing
/* (In)
Drawing handle
*/
ProView view
/* (In)
The view handle
*/
ProCurvedata* curve_data
/* (Out)
Spline data (see Notes: below) Notes: The curve_data spline is in the space defined by 0,0 mapping to the detail view's reference point, the X and Y directions mapping to X and Y on the screen, and the unit length being one inch in the top model of the view. To map this to world space, first scale the spline by inch-to-top-model-unit, then by model-to-world (that is, the scale of the view's transformation matrix), then translate it by the reference point. To map a spline in world space for use here, translate it by the reference point, then scale by world-to-model (inverse of the scale of the view's transformation matrix), and scale by top-model-unit-to-inch.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThe spline data could not get

Manual References:

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