Documentation de l'API > Drawings and detail > Object ProDrawing > Function ProDrawingAxisToDtlaxis
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:
the drawing view
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.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingAxisToDtlaxis
(
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
one or more of the input arguments are invalid.
failed to convert the input axis selection into a dtl_axis selection.
successfully converted the input axis selection into a dtl_axis selection.
Est-ce que cela a été utile ?