API-Dokumentation > Drawings and detail > Object ProDrawing > Function ProDrawingDraftToDraftent
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>
ProDrawingDraftToDraftent
(
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
The function completed successfully.
The function failed.
Invalid input argument(s).
Input type not supported.
User Guide References
War dies hilfreich?