Category Drawings and detail, Object ProDrawing

Function ProDrawingAxisToDtlaxis


Description
Converts a 3d axis selection into a dtl-axis selection in the drawing. The 3d axis selection should have the following info:
  1. the drawing view
  2. the memb-id table
The output selection will be the corresponding dtl-axis selection. the location (in screen coordinates) is needed to identify the line of the cosmetic.

Output selection will be allocated by function and will have to be managed/released by caller.

Synopsis
#include <ProDrawing.h>
ProErrorProDrawingAxisToDtlaxis(
ProDrawing p_draw
/* (In)
the drawing.
*/
ProSelection p_sel3d
/* (In)
the 3d axis selection.
*/
ProVector location
/* (In)
in screen coordinates, a point on one of the axis lines.
*/
ProSelection* r_p_sel2d
/* (Out)
handle to the converted selection.
*/
)
Returns
PRO_TK_BAD_INPUTSone or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORfailed to convert the input axis selection into a dtl_axis selection.
PRO_TK_NO_ERRORsuccessfully converted the input axis selection into a dtl_axis selection.