Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Toolkit: ProDtlattachArrowtypeSet how to use to change the style of the arrow?

Yaroslav

New member
Anybody had success to use ProDtlattachArrowtypeSet or ProDtlattachArrowtypeGet?

Code:
ProDtlattach leader;
ProSelection sel = *(ProSelection *)Weld_data_global.edges_sel[l];
err = ProSelectionVerify(Weld_data_global.edges_sel[l]);
err = ProDtlattachAlloc(PRO_DTLATTACHTYPE_PARAMETRIC, NULL, NULL, Weld_data_global.edges_sel[l], &leader);

[COLOR="#008000"][I]/* Licensing Requirement Pro/TOOLKIT-for-3D_Drawings (222)*/
// Return PRO_TK_NO_ERROR, but the style of the arrow not changed. Don't know why.[/I][/COLOR]
err = ProDtlattachArrowtypeSet(leader, PROLEADERTYPE_BOX);

[COLOR="#008000"][I]// Return PRO_TK_BAD_INPUTS[/I][/COLOR]
err = ProDtlattachArrowtypeGet(leader, &leadertype);
err = ProArrayObjectAdd ((ProArray*)&leaders, -1, 1, &leader);
 

Sponsor

Articles From 3DCAD World

Back
Top