Derived part always asking for update when opening assembly

Derived part always asking for update when opening assembly

Nejc.Leban
Advocate Advocate
1,188 Views
17 Replies
Message 1 of 18

Derived part always asking for update when opening assembly

Nejc.Leban
Advocate
Advocate

Hello everyone.

 

I would like to know why, when I open an assembly with a derived part, it always asks for an update?

I have not done any changes to the base component, I just open the assembly and the lightning bolt shows up:

NejcLeban_0-1690179474648.png

The part with the L at the end is derived, the one above him is the base component.

Is there a way to stop this from happening?

 

Regards,

Nejc

 

0 Likes
Accepted solutions (1)
1,189 Views
17 Replies
Replies (17)
Message 2 of 18

blandb
Mentor
Mentor

Are there ilogic rules running on parent parts upon opening that would make it want to update?

Autodesk Certified Professional
Message 3 of 18

johnsonshiue
Community Manager
Community Manager

Hi! Either the readonly part has a pending update that was never saved or there is a bug. Please share the files that exhibit the behavior in zip.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 4 of 18

IgorMir
Mentor
Mentor

Hi Johnson.

It has been like that forever and a day. I too, wrote about this issue on a few occasions. But not anymore. Since it is not going to get fixed anyway. 
My take on it is - Inventor can not updated files which are nested a few folds deep. But it can mark them as "Required updates" instead. To see the effect of it - save the assembly, which got parts made of derived components, a few times. One will see that the list of files, which required updates after the "Rebuild All" is activated a several times - gets shorter.
It is particularly amazing, that after the computer is shut down over night - in the morning Inventor is asking if an operator wants to update the files in assembly or not!
Cheers,

Igor.

Web: www.meqc.com.au
Message 5 of 18

Nejc.Leban
Advocate
Advocate

Actually, like @IgorMir said, this happens only when the computer is shut down and when I open the assembly the next day, the derived component needs an update. If I update and save, then I close and reopen Inventor, there is no need for updating.

There are some rules that run in each sheet metal file, but they are run on document save.

Forgot to mention, I'm using Inventor 2021 Pro, if it makes any difference.

0 Likes
Message 6 of 18

johnsonshiue
Community Manager
Community Manager

Hi Folks,

 

I am sorry I cannot reproduce the behavior. The only logical explanation I can think of is that the source object in the source part ( the one that is derived from) was not "exported." As a result, it triggers an alert to derived part and the hosting assembly.

If possible, please share the files that exhibit the behavior. I would like to understand the behavior better.

Many thanks!

 



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

Nejc.Leban
Advocate
Advocate

Here's the assembly with the 2 parts, the one with "L" at the end is derived, and the other one is the base component.

Message 8 of 18

johnsonshiue
Community Manager
Community Manager

Hi! Many thanks for sharing the files! I took a quick look at the assembly. It has two parts. The first one is an adaptive part. Where are the driver components? Is this part adaptive elsewhere and then repurposed in this assembly?

 

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 9 of 18

Nejc.Leban
Advocate
Advocate

There were other components, which had some edges projected to the adaptive part, but I removed them. The adaptivity can be turned off, it doesn't matter. The "update needed" happens without the adaptivity.

 

Edit:

I should also add that the assembly and both parts are in the same folder in the workspace.

 

 

 

0 Likes
Message 10 of 18

johnsonshiue
Community Manager
Community Manager

Hi! Do you have a persistent way to reproduce the behavior? I still cannot reproduce it on my machine unfortunately.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 11 of 18

BDCollett
Advisor
Advisor

Tested in 2024 and it seems fine. However.

Check that your Sheet Metal rules have a unit in them.

 

Inventor will get caught in a loop with derived sheet metal parts when it has to get units every time you open the file. I have brought this up before here and @johnsonshiue confirmed that it was working normally.

 

The frustrating part about this is, you do not even need it to be in the actual Rule. A different rule but saved in that part template and derived will still trigger the update. 
Had seen this when the user had hundreds of rules, and some of the unitless fields even not in use, yet it still triggered an update. Quite the trap.
Very frustrating when they are Released parts in Vault. So was very glad when I found the culprit.

Message 12 of 18

Nejc.Leban
Advocate
Advocate

@johnsonshiue 
Like I said, it happens everytime I start the computer after being shutdown and when I open the assembly for the first time after restarting the computer, it needs an update. If I update and save the derived part and then close and reopen Inventor, an update is not necessary. If I restart the computer and then reopen the assembly with the derived part, it needs an update again.

@BDCollett 
Can you please elaborate where the units should be? I don't quite understand.
I have 3 rules (which I can't share here because I didn't write them). All of them write some values to Custom iProperties like Stock number, surface area of the flat pattern,... Some of the values written are unitless, some have added units. What units is the derived part getting?

0 Likes
Message 13 of 18

BDCollett
Advisor
Advisor

@BDCollett 
Can you please elaborate where the units should be? I don't quite understand.
I have 3 rules (which I can't share here because I didn't write them). All of them write some values to Custom iProperties like Stock number, surface area of the flat pattern,... Some of the values written are unitless, some have added units. What units is the derived part getting?


Sheet metal rules, not iLogic rules.

If any of the settings in there are missing a unit (in, mm) they will constantly update. Even in a setting not in use.

It doesn't look like this is the problem you are having though. 

 

There is nothing wrong with the file you linked.

 

 

Message 14 of 18

Nejc.Leban
Advocate
Advocate

Oh, my bad. Like you said, the Sheet Metal rules all have units, so the problem lies elsewhere. It's not a significant issue except for being a bit annoying.

 

I appreciate you all taking the time to help.

 

0 Likes
Message 15 of 18

LELO_NTI
Contributor
Contributor
Accepted solution

@Nejc.Leban 

Hi.

I my case i updated each part from design data, the was a deviation in the design data and the local design data, with colours etc with in the sheet metal rules. After i done that on the parent and the derived child, the problem went away.

Lennart Losjö
Message 16 of 18

CGBenner
Community Manager
Community Manager

@Nejc.Leban Did the information provided by @LELO_NTI answer your question? If so, please use Accept Solution so that others may find this in the future. Thank you very much!

Did you find a post helpful? Then feel free to give likes to these posts!
Did your question get successfully answered? Then just click on the 'Accept solution' button.  Thanks and Enjoy!


Chris Benner
Community Manager

0 Likes
Message 17 of 18

Nejc.Leban
Advocate
Advocate

@LELO_NTI  @CGBenner 

 

Unfortunately, I cannot confirm whether the solution works. We've migrated to Inventor 2024 in the meantime and the need to update a part when opening is gone. I haven't made any changes to the parts, haven't updated the rules or design data; I only saved them to perform the migration. When I restart the PC and reopen the assembly, the need to update is no longer there. I've also tried this in some assemblies with newly created parts and the issue no longer persists. I can either accept the solution straight away or wait to see if anyone else can confirm it works.

 

Best regards,

Nejc

Message 18 of 18

CGBenner
Community Manager
Community Manager

@Nejc.Leban @LELO_NTI 

Marking as accepted, but if anyone else has other thoughts, please feel free to share them here.  🙂

Did you find a post helpful? Then feel free to give likes to these posts!
Did your question get successfully answered? Then just click on the 'Accept solution' button.  Thanks and Enjoy!


Chris Benner
Community Manager

0 Likes