NX二次開発の-UFUNバルク操作は、国家UF_LAYER_set_many_layers_statusレイヤ

1 NX11 + VS2013
 2  
3。の#include <uf.h>
 4。の#include <uf_ui.h>
 5。の#include <uf_layer.h>
 6。 
7。 
8。 UF_initialize();
 9  
10  // 層のバルク動作状態
11の。 UF_LAYER_status_info_t変化[UF_LAYER_MAX_LAYER] ;
 12は、 INT COUNT = 10 ; // バッチの数
13である INT NUM = 5 ; // 層出発バッチ
14の ためのINT I = 0 ; I <COUNT I ++ 15  {
 16     変更[I] .layer_number = NUM + I。
17の      変更[I] .layer_status = UF_LAYER_REFERENCE_LAYER。
18  }
 19  UF_LAYER_set_many_layers_status(カウント、変更);
20  
21  UF_terminate()。
22  
23  シーザー卢尚宇
 24 2019年11月13日

おすすめ

転載: www.cnblogs.com/nxopen2018/p/11848033.html