Category Drawings and detail, Object ProDrawing

Function ProDrawingDraftToDraftent


Description
Converts a selection of type 'Draft' to 'Draft ent' in the drawing. The output selection will be allocated by function and will have to be managed/released by the caller.
Synopsis
#include <ProDtlentity.h>
ProErrorProDrawingDraftToDraftent(
ProDrawing p_draw
/* (In)
The drawing that owns the draft entity
*/
ProSelection p_sel_draft
/* (In)
Selection of type Draft
*/
ProSelection* r_p_sel_draft_ent
/* (Out)
Handle to the converted selection
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSInvalid input argument(s).
PRO_TK_INVALID_TYPEInput type not supported.

Manual References:

  1. Drawings: Draft Entity Data