cad签名修改

main
李岩峰 5 years ago
parent dfd4dbfbd9
commit 8e6d987d46

2
.gitignore vendored

@ -1,7 +1,7 @@
# ---> C++ # ---> C++
# Prerequisites # Prerequisites
*.d *.d
*.sdf
# Compiled Object files # Compiled Object files
*.slo *.slo
*.lo *.lo

@ -69,6 +69,9 @@ int bs_sign_cad(EPM_action_message_t msg)
if(ref) if(ref)
{ {
IMF_ask_original_file_name2(ref, &name); IMF_ask_original_file_name2(ref, &name);
string temp = name;
if (temp.find(".dwg") == -1)
continue;
stringstream path; stringstream path;
path << tempdir <<"\\"<< newGUID() << name; path << tempdir <<"\\"<< newGUID() << name;
printf("path:%s\n", path.str().c_str()); printf("path:%s\n", path.str().c_str());

Loading…
Cancel
Save