摘要: NX二次开发 超级截面 阅读全文
posted @ 2021-10-07 14:35 刘朋1102 阅读(143) 评论(0) 推荐(0)
摘要: NX二次开发 超级点 阅读全文
posted @ 2021-10-07 13:25 刘朋1102 阅读(219) 评论(0) 推荐(0)
摘要: 1 void Import_NamePart(double* mtx,double* pt,char* name) 2 { 3 UF_import_part_modes_t modes; 4 modes.layer_mode = 1; 5 modes.group_mode = 1; 6 modes. 阅读全文
posted @ 2021-10-07 12:02 刘朋1102 阅读(312) 评论(0) 推荐(0)
摘要: bool copyFile(const char *src_file,const char *dst_file) { return CopyFile(char2TCAHR(src_file) , char2TCAHR(dst_file) , TRUE); } 阅读全文
posted @ 2021-10-07 11:59 刘朋1102 阅读(54) 评论(0) 推荐(0)
摘要: 1 extern void trim(string &s) 2 { 3 if( !s.empty() ) 4 { 5 s.erase(0,s.find_first_not_of(" ")); 6 s.erase(s.find_last_not_of(" ") + 1); 7 } 8 } 阅读全文
posted @ 2021-10-07 11:54 刘朋1102 阅读(148) 评论(0) 推荐(0)
摘要: 1 HMODULE GetSelfModuleHandle() 2 { 3 MEMORY_BASIC_INFORMATION mbi; 4 return ((::VirtualQuery(GetSelfModuleHandle, &mbi, sizeof(mbi)) != 0) ? (HMODULE 阅读全文
posted @ 2021-10-07 11:48 刘朋1102 阅读(148) 评论(0) 推荐(0)