. 1 #include <uf.h> 2 #include <uf_draw.h> . 3 #include <uf_drf.h> . 4 #include <uf_obj.h> . 5 . 6 . 7 . 8 UF_initialize (); . 9 10 // Get Name Get view Tag . 11 ViewTag = tag_t NULL_TAG; 12 is UF_OBJ_cycle_by_name ( " 123 " , & ViewTag); 13 is 14 // tag acquired from the view of the drawing sheet tag 15 tag_t DrawingTag = NULL_TAG; 16 UF_DRAW_ask_drawing_of_view (ViewTag, & DrawingTag); . 17 18 is // rename drawing sheet 19 UF_DRAW_rename_drawing (DrawingTag, " 123456 " ); 20 21 UF_terminate (); 22 23 Caesar Lu Shangyu 24- July 1, 2019
NX secondary development -UFUN rename the drawing sheet UF_DRAW_rename_drawing
Guess you like
Origin www.cnblogs.com/nxopen2018/p/11116145.html
Recommended
Ranking