Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with saving part files multiple times

1 REPLY 1
Reply
Message 1 of 2
FiniteMatt
363 Views, 1 Reply

Problems with saving part files multiple times

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.

Inventor 2013 SP 1.1

If you wish to make an apple pie from scratch, you must first invent the universe.
1 REPLY 1
Message 2 of 2
adam.nagy
in reply to: FiniteMatt

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report