Saving a STEP file overwrites local components automatically

Saving a STEP file overwrites local components automatically

Anonymous
Not applicable
1,592 Views
6 Replies
Message 1 of 7

Saving a STEP file overwrites local components automatically

Anonymous
Not applicable

We've discovered a potentially dangerous quirk of the STEP to inventor file format saving mechanism, whereby .ipt or .iam files stored in the same location as the STEP file with identical names to those referenced by the STEP file when it was generated will be automatically overwritten.

 

For example, creating an assembly of parts in a single folder somerwhere, exporting a STEP file from the assembly to the same location as the original Inventor files, then opening and saving the STEP file. This will overwrite the Inventor file types with "blank" versions of components like you get when importing a STEP file normally (ie. a body exists as before, but all individual features in the tree are lost).

 

From a usage point of view, we shouldn't ever really be exporting STEP models to the same location as the base models, let alone opening and re-saving them, however it is concerning that the overwriting of existing files happens automatically - that could cost a fair amount of design time!

0 Likes
Accepted solutions (2)
1,593 Views
6 Replies
Replies (6)
Message 2 of 7

Mark.Lancaster
Consultant
Consultant

@Anonymous

 

Inventor doesn't know what your intent is..  Its following your lead.  If you are not paying attention to what the file name is and the location of where its being save, well that's the reason.  Its not an issue with Inventor.   This can happen no matter if you are using a STEP file or a file you created and you save it to the same location with the same name.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 3 of 7

-niels-
Mentor
Mentor

@Mark.Lancaster


@Mark.Lancaster wrote:

Inventor doesn't know what your intent is..  Its following your lead.


I have to disagree, Inventor is deciding to overwrite files on it's own... it should double check with the user in order to asses the intent.

I tried the workflow @Anonymous suggested and created a test assembly with a testpart and saved it out as step to the same location.

After opening the step i hit save and got the dialog stating "initial save", which to me indicates that inventor isn't checking if the files exist.

I would have expected a "do you want to overwrite" dialog...


Niels van der Veer
Inventor professional user & 3DS Max enthusiast
Vault professional user/manager
The Netherlands

Message 4 of 7

Mark.Lancaster
Consultant
Consultant

@-niels-

 

Yes you are correct that its not prompting and asking if you want to overwrite ..  My reply was not clear enough to @Anonymous and I did leave off some key details.  Guess I'm not awake at this point, my bad..  Smiley Sad

 

I should've included that the STEP import is always consider as a "new" input and it assumes you are creating (importing) this file for the first time (thus no need to check).  Is it correct to assume?  YES and NO, meaning I can see both sides of the story.

 

I would suggest if not already to post this idea over in the Inventor Idea.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

Message 5 of 7

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi Stuart,

 

Indeed, the behavior does not look reasonable. I would expect to see some kind of warning. The behavior is inconsistent with regular file saving without import. I will work with project team to understand this behavior better and see what we can do.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 6 of 7

Anonymous
Not applicable

Thanks for the responses everyone.

 

@Mark.LancasterI can see where you're coming from! Sorry if that wasn't clear that it's specifically the lack of prompt for overwriting files rather than the mechanics of STEP files themselves that I was getting at.

0 Likes
Message 7 of 7

bob_holland
Autodesk Support
Autodesk Support
Accepted solution

@Anonymous, @Mark.Lancaster@-niels-@johnsonshiue

 

All,

 

I wanted to let you know that this has been logged with the Inventor development staff with a reference ID of:  184417

 

I have also created a tracking page for this:

http://knowledge.autodesk.com/article/Inventor-2018-is-saving-a-STEP-file-overwrites-local-components-automatically

 

Thank you again for bringing this to our attention and we apologize for any inconvenience that this may have caused you.


Bob Holland
Autodesk Product Support