The properties in \ have been updated outside the current session

The properties in \ have been updated outside the current session

Anonymous
Not applicable
1,112 Views
5 Replies
Message 1 of 6

The properties in \ have been updated outside the current session

Anonymous
Not applicable

In our company we have created an app using .NET. This application simply connects to Inventor assembly file when it is open and update specific ipt files' custom properties to our needs. Everything is fine up to this point but when we try to open a modified ipt file, this prompt pops up: "The properties in ... have been updated outside the current session. Do you want to keep these changes and lose any changes made in the current session?" I understand why this happens as we are changing the porperties from a 3rd party software. But is there a way to suppress this prompt and automatically answer "Yes"? Because we are using custom properties in idw file for some custom fields, also we are writing them to a database. We can't use the data we embed in ipt file without opening that ipt file and say yes to that prompt. Any help would be appreciated.

0 Likes
1,113 Views
5 Replies
Replies (5)
Message 2 of 6

k14348
Advocate
Advocate

Hi,

    Its not about third party app. When u run that application all inventor files should be in closed condition. If it is a server file please ensure in all systems those files are closed then u run it. Hope u wont face such issues.

If again facing share screen shot.

 

_Karth

0 Likes
Message 3 of 6

DRoam
Mentor
Mentor

I don't agree with @k14348 that the files need to be closed. If you are hooking into the same Inventor session and using the API to modify the iProperties, those edits should happen within that session and you shouldn't get this message.

 

One thing that would cause this is if you have more than one Inventor session running and your .NET app attaches to the wrong one. There may be other ways this could happen, but I would need to see more details about how your app works.

0 Likes
Message 4 of 6

k14348
Advocate
Advocate

Hi,

    When files are in open condition, and you are trying to change iprop, this will issue arise. When u do with Inventor API it maybe a active document and accessible doc in inventor. So this kind of issue won't arise. If u want to avoid that message u have to close the doc. After updating iprop through 3rd party when u open it in inventor u will get a updated file. So msg wont come.

 

-Karth

Message 5 of 6

Anonymous
Not applicable

Hello,

 

I'm running Inventor 2018 and getting this anoying message when working with a single open file (a single inventor also), an assembly.

It tells me that there is a drawing whose properties have been update outside the current session...

It is confussing and doesn't seem to make any sense...

0 Likes
Message 6 of 6

NachoShaw
Advisor
Advisor

How are you updating the iProperties to the files? Is your app using Apprentice to change the iProperties? If so, you might need to add 'FlushToFile' at the end of the iProperty update. If the document is open in Inventor, you will need to save the document. If the document is closed and you are not using Apprentice, you should open the file invisible and update the iproperties then save and close it.

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes