Problems with saving part files multiple times

Problems with saving part files multiple times

Anonymous
Not applicable
448 Views
1 Reply
Message 1 of 2

Problems with saving part files multiple times

Anonymous
Not applicable

Here is the original post.

 

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.

0 Likes
449 Views
1 Reply
Reply (1)
Message 2 of 2

adam.nagy
Autodesk Support
Autodesk Support

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,



Adam Nagy
Autodesk Platform Services
0 Likes