|
+ D" d( |/ e9 R' H' B/ H% e /* 为什么不能创建部建abc.prt 是我的代码有问题吗? */0 j5 {( c. L% ?9 o/ i
! S" b/ g2 S: v+ p9 p/ H/* 其它没改动略 */
, P' x1 R+ v8 d- `0 S#include <uf_part.h>
) V6 k) `+ v4 U5 P% U8 x
* z/ }8 Z& Z9 K0 k( S /* TODO: Add your application code here */
3 X, s2 {4 \- s* V, F
~; `9 z6 V: L6 [ /* 新建部件 */
4 F9 a. v, P% I' |. o const char * part_name="D:\\abc.prt";
. T0 A" `- A: C/ a2 A8 v- U1 L% W int part_units = 1;- k5 g: \6 Y# W, }( W U8 |
tag_t * tag_part;4 ~' T2 w/ C Q8 I
UF_PART_new (part_name,part_units,tag_part);" k- b. n* i% I; ?! Z
* R4 W0 v i" p/ m /* Terminate the API environment */+ \5 P6 @8 b( v* r& n w# V
0 {6 A+ Z5 }/ W7 v* Z% J4 `. A9 ?* V( _: }1 |* j! I
|
|