A little quick summary since its all laid out in the original post. In testing my latest automation project, I've found that I can't save copies of a part multiple times (after deleteing the files off the disk) unless I close out of the top level assembly document, and reopen it. I used Process Monitor and determined that Inventor is trying to save to an existing file instead of creating a new file.
I think I can work around it, but I'd like to know more about this problem if I can.
Hi,
Could you please post the steps that your workflow goes through?
- open assembly, run external rule >> this opens part, SaveAs(True), close part, etc
One thing that I thought might be worth mentioning is that SaveAs(True) just creates a copy, but the original document is still being referenced by e.g. 'ThisDoc'
Some info on this: http://adndevblog.typepad.com/manufacturing/2012/12/saveas-with-savecopyas-false.html
Cheers,