Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

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

  • Thread starter Thread starter Yaroslav
  • Start date Start date
Y

Yaroslav

Guest
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);
 

Part and Inventory Search

Sponsor

Back
Top