|
如题:我想修改工程图中注释的箭头特征,选用下列函数,程序运行成功但是在ug中打开时出错,不知道是哪出错了,各位请帮忙看看
3 \1 \2 g7 Z: v$ e% x* G 5 V8 D0 R2 F) j" Z- _
UF_DRF_line_arrow_preferences_t * line_arrow_preferences;9 D. [# b+ f; \+ {0 R! x6 z% B7 M
" i z7 H8 L; b) Q7 J* ?* j# _/ y& W5 b
(*line_arrow_preferences).first_arrow_type = UF_DRF_NO_ARROW;( Q3 |6 n" G4 X$ X
(*line_arrow_preferences).second_arrow_type = UF_DRF_NO_ARROW;, R. M. T3 n+ E! _1 b
//(*line_arrow_preferences).stub_length = 3;7 j8 Z2 B* ~6 [7 v
//(*line_arrow_preferences).leader_location = 2;
N) s+ m! i: K% |% x! }- w- E! X//(*line_arrow_preferences).leader_location = UF_DRF_TEXT_MIDDLE;" l0 j+ e7 i1 f, f
5 F% |5 h/ V4 o; x# p
//设置箭头特征
. I5 E+ X+ C0 C; Y# @ ^UF_DRF_set_line_arrow_preferences(line_arrow_preferences); X! h7 T: S! F- j' w Q
|
|