UG\NX CAM secondary development setting process inspection body UF_CAMGEOM_append_items

Author of the article: OEM
Source website: NX CAM secondary development column


Introduction:

        UG\NX CAM secondary development setting process inspection body  UF_CAMGEOM_append_items

Effect:

Code:

static int init_proc(UF_UI_selection_p_t select, void* user_data) 
{ 
 int  errorCode = 0; 
 int  num_triples = 1;
 //UF_UI_mask_t mask_triples[] = { UF_solid_type ,0, 0 };//设置只能选择实体
 UF_UI_mask_t mask_triples[] = { UF_face_type ,0, 0 };//设置只能选择面
 errorCode = UF_UI_set_sel_mask(select, UF_UI_SEL_MASK_CLEAR_AND_ENABLE_S

Guess you like

Origin blog.csdn.net/WangPaiFeiXingYuan/article/details/132840262