|
/*创建坐标标注*/& S5 r0 n h3 b
for(int i=0;i<count;i++)5 d5 U" @9 ]) n! d9 {7 [* K: K
{
' [4 a# K( c) ^ UF_DRF_text_t drf_text;$ Q) U4 A) R1 v, g. {1 o, K% L+ P
char append_text[1][133];
, D# S. T$ R8 q strcpy (append_text[0], "");+ }: B \% k" }/ A) ]# \% x8 l& N# Z8 V
drf_text.user_dim_text = user_text;
( W& T9 J# s) X) U drf_text.lines_app_text = 1;3 o5 q, C! q% A2 q8 K4 `
drf_text.appended_text = append_text;
. t; Z/ Z& q2 w/ W) m% ]9 t% K+ \ double origin[3]={0,0,0};$ }1 q% V; V# N% Q! j0 b! z+ ]
object1.object_tag = front_objects[ i ];
% Q9 ]. r- s& M( i: O3 P9 ~ object1.object_view_tag = front_view_tag;
3 H1 a( W: Y4 l+ Y object1.object_assoc_type = UF_DRF_end_point;
; g2 i' a5 I: v u9 ?3 t6 e( B object1.object_assoc_modifier =UF_DRF_first_end_point;! p% D- u) v8 \) |
UF_DRF_create_orddimension(margin_tag,1,&object1,0,1,&drf_text,1,origin,&dimension_tag);4 l0 e# d# ^: \; t. i
UF_DRF_create_orddimension(margin_tag,2,&object1,0,1,&drf_text,1,origin,&dimension_tag);
8 Y- K1 t2 g7 J ) d' ^8 s# V K- a& I0 A6 i- W- d
6 r9 H$ {$ m7 f% L Z$ L# E+ N+ H}
4 s4 C# h- J3 v- \! c UF_DRF_create_orddimension(margin_tag,1,&object1,0,1,&drf_text,1,origin,&dimension_tag);1 e8 [( Z$ `8 J$ Y7 j$ {
UF_DRF_create_orddimension(margin_tag,2,&object1,0,1,&drf_text,1,origin,&dimension_tag);7 x9 g+ P1 }: ^2 J
为什么我这样代码只出现垂直标注,没有水平标注
- s8 A8 Y: H" o+ b( j |
|