|
如题:我想修改工程图中注释的箭头特征,选用下列函数,程序运行成功但是在ug中打开时出错,不知道是哪出错了,各位请帮忙看看
: Z3 x2 Y- u' z3 H
) j2 b% a* w1 o& X! J- LUF_DRF_line_arrow_preferences_t * line_arrow_preferences;
! t; C) h6 q3 h& w
( P8 D w4 C8 S( o(*line_arrow_preferences).first_arrow_type = UF_DRF_NO_ARROW;' W' M4 `# E0 B; L; V
(*line_arrow_preferences).second_arrow_type = UF_DRF_NO_ARROW;! x- ]; s0 k- y. x6 z
//(*line_arrow_preferences).stub_length = 3;
2 c0 n7 m# R# w0 C; N+ x0 u8 o4 p" E//(*line_arrow_preferences).leader_location = 2;3 O. c- k0 ~& |
//(*line_arrow_preferences).leader_location = UF_DRF_TEXT_MIDDLE;
" W! @) q% e W' `' ~& V( c$ t 5 `6 z; r3 g" Z3 v
//设置箭头特征
; i: b+ G( X9 u* P! ?UF_DRF_set_line_arrow_preferences(line_arrow_preferences);- |% ]4 M; p) c
|
|