How to find rollback'd component?

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
mrlegoman
Posts: 7
Joined: Sun Jun 13, 2021 6:51 pm
Answers: 0
x 1

How to find rollback'd component?

Unread post by mrlegoman »

I'm trying to 'form new sub-assembly' but get an error :
Cannot add: one of components in rollback state.
sw3.jpg
So, couple thousand parts, how do I find the culprit without having to open every part?
User avatar
bnemec
Posts: 1973
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2584
x 1433

Re: How to find rollback'd component?

Unread post by bnemec »

you're saying that assembly "TEMP-DWG-00023..." contains a couple thousand parts? If not should be able to drill down through sub assemblies there to find the offending part.
User avatar
Tom G
Posts: 355
Joined: Tue Mar 09, 2021 9:26 am
Answers: 0
Location: Philadelphia, PA area
x 989
x 466

Re: How to find rollback'd component?

Unread post by Tom G »

I looked for Component Status = Rolled Back among the "Search Criteria for Advanced Component Selection" (2018 link) https://help.solidworks.com/2018/englis ... ection.htm

I didn't find it in 2018. I hoped this would be available. Maybe Component Status = (Has Errors, Had Warnings, or Needs Rebuild) can help find that needle, but I think it'd return more false positives than anything.
User avatar
SPerman
Posts: 2157
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2363
x 1977
Contact:

Re: How to find rollback'd component?

Unread post by SPerman »

bnemec wrote: Mon Jun 14, 2021 1:54 pm you're saying that assembly "TEMP-DWG-00023..." contains a couple thousand parts? If not should be able to drill down through sub assemblies there to find the offending part.
AFAIK, there is nothing at the assembly level to tell you which part is rolled back. You have to open (or edit) each individual component.

Why SW gets its panties all bunched up over a rolled back part, I will never understand.

I think in 2019 there was a bug where it would give you this error incorrectly. I think the fix was to open any part. Roll it back and then roll it to the end.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
DanPihlaja
Posts: 906
Joined: Thu Mar 11, 2021 9:33 am
Answers: 26
Location: Traverse City, MI
x 827
x 1023

Re: How to find rollback'd component?

Unread post by DanPihlaja »

Here is a macro that does it for you:

https://forum.solidworks.com/thread/8497

Maybe it will work?
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
mrlegoman
Posts: 7
Joined: Sun Jun 13, 2021 6:51 pm
Answers: 0
x 1

Re: How to find rollback'd component?

Unread post by mrlegoman »

Haven't tried the macro. Company PC, so we're locked out of a lot of stuff like that.
I ended up trying 'form new sub-assembly' while deselecting one assembly at a time until I did not get the error. Then I went to the offending assembly and repeat. drilled down about 6 times to the final sub-assembly with parts. Checked about a dozen parts and found the bugger. About 15 minutes, but what a pain.
David Matula
Posts: 74
Joined: Tue Mar 30, 2021 12:43 pm
Answers: 0
x 55
x 70

Re: How to find rollback'd component?

Unread post by David Matula »

How about exploring to where the files are saved. The file would have to be one that was opened and saved recently.
Then again i have had a crash with a part in edit mode and it insisted that a part was still rolled back.
User avatar
gupta9665
Posts: 449
Joined: Thu Mar 11, 2021 10:20 am
Answers: 28
Location: India
x 452
x 494

Re: How to find rollback'd component?

Unread post by gupta9665 »

mrlegoman wrote: Wed Jun 16, 2021 8:07 pm Haven't tried the macro. Company PC, so we're locked out of a lot of stuff like that.
Well you should talk to your boss that how much time/money company is losing for not using the macros or similar tools.
Deepak Gupta
SOLIDWORKS Consultant/Blogger
D.hendriks
Posts: 1
Joined: Thu Sep 09, 2021 4:49 am
Answers: 0

Re: How to find rollback'd component?

Unread post by D.hendriks »

I was cought with the same problem aswell.
Could not find a way to get the part that has the roll back state indeed.

Instead of searching a way to find one part I used an empty assembly and opened subs.
If I could not find it as an insert component it meant that the sub contained the part I searched for.
I've opened a few and came to a smaller sub wich was easier to verify, that way I found my part.

Hope it works for you aswell.
User avatar
zxys001
Posts: 1081
Joined: Fri Apr 02, 2021 10:08 am
Answers: 5
Location: Scotts Valley, Ca.
x 2327
x 1007
Contact:

Re: How to find rollback'd component?

Unread post by zxys001 »

"One of the components of this assembly is in rollback state. The assembly is inaccessible now."
...has been happening all day... only have a few components in the asm but what a pain in the butt!

No rhyme or reason... lame! grumph
Attachments
rollbackinaccessiblenow.png
rollbackinaccessiblenow.png (5.26 KiB) Viewed 56757 times
"Democracies aren't overthrown; they're given away." -George Lucas
“We only protect what we love, we only love what we understand, and we only understand what we are taught.” - Jacques Cousteau
User avatar
SPerman
Posts: 2157
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2363
x 1977
Contact:

Re: How to find rollback'd component?

Unread post by SPerman »

I fought that same problem last week. Would it really be that difficult to tell us which part is rolled back?

I agree. grumph
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
SPerman
Posts: 2157
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2363
x 1977
Contact:

Re: How to find rollback'd component?

Unread post by SPerman »

dpihlaja wrote: Mon Jun 14, 2021 3:11 pm Here is a macro that does it for you:

https://forum.solidworks.com/thread/8497

Maybe it will work?
For some reason that download doesn't work for me. It says the zip file is invalid. Can you share it another way?
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
DanPihlaja
Posts: 906
Joined: Thu Mar 11, 2021 9:33 am
Answers: 26
Location: Traverse City, MI
x 827
x 1023

Re: How to find rollback'd component?

Unread post by DanPihlaja »

SPerman wrote: Wed Dec 01, 2021 11:43 am For some reason that download doesn't work for me. It says the zip file is invalid. Can you share it another way?
See attached (I was able to download it, so I attached it here)

Edit: Never mind, it says that the zip file is invalid. Give me a few.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
DanPihlaja
Posts: 906
Joined: Thu Mar 11, 2021 9:33 am
Answers: 26
Location: Traverse City, MI
x 827
x 1023

Re: How to find rollback'd component?

Unread post by DanPihlaja »

SPerman wrote: Wed Dec 01, 2021 11:43 am For some reason that download doesn't work for me. It says the zip file is invalid. Can you share it another way?
OK, here it is (see attached)
Attachments
Find-Rolled-Back-Components.zip
(11.14 KiB) Downloaded 2175 times
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
SPerman
Posts: 2157
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2363
x 1977
Contact:

Re: How to find rollback'd component?

Unread post by SPerman »

Thanks. Unfortunately I'm having the same problem as the users in the other thread.

image.png
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
SPerman
Posts: 2157
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2363
x 1977
Contact:

Re: How to find rollback'd component?

Unread post by SPerman »

I think my problem is that no part is in a rolled back state, but SW thinks it is. From the other thread:

"Here is some discussion on why SW might display the rolled back message when nothing is actually rolled back:

https://forum.solidworks.com/message/143780 [This link doesn't work for me]

(possibly related to using configure dimension while editing a sketch)"

I definitely have a few dimensions whose value changes based on the configuration.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
SPerman
Posts: 2157
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2363
x 1977
Contact:

Re: How to find rollback'd component?

Unread post by SPerman »

After wasting half of the day on this, I finally found a work around, with a little help from my VAR.

1. Open the problem assembly
2. Suppress EVERYTHING
3. Insert the problem assembly into the parent assembly
4. Unsuppress everything.

(In my case, step 4 showed me which part was in a rolled back state, and gave me the option to roll it forward.)
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Eddy Alleman
Posts: 50
Joined: Thu Apr 01, 2021 10:32 am
Answers: 8
Location: Belgium
x 80
x 89
Contact:

Re: How to find rollback'd component?

Unread post by Eddy Alleman »

I had the same problem last week.
Closing the assembly and solidworks and reooening solved it for me.
Eddy
User avatar
mp3-250
Posts: 672
Joined: Tue Sep 28, 2021 4:09 am
Answers: 20
Location: Japan
x 753
x 369

Re: How to find rollback'd component?

Unread post by mp3-250 »

I stumped on this problem recently and sometimes it is not a real rollback part to cause it, but you have to FORCE ROLLBACK and ROLLFORWARD on the part you opened. It needs just one step back and forward to force a rebuild and the error disappears...
Former Mechanical Engineer (UG-NX ), now a miserable SW CAD/PDM admin... debugging Solidworks since 2014. Please save me from ThE pLaTfOrM...
All the opinions are my own.
SW is bad: a fact not an opinion.
Silver Surfer
Posts: 1
Joined: Thu Oct 27, 2022 9:48 am
Answers: 0
x 1

Re: How to find rollback'd component?

Unread post by Silver Surfer »

Why does it seem like Solidworks has gone down hill in quality since 2014? Why not make the next upgrade be the 2014 version? Anyway has this always been a problem with SW. I don't remember running into this issue in the past. The work around of suppressing everything in the Subassembly, inserting it into the assembly, and un-suppressing everything seemed to work for me. Thanks for that tip.
User avatar
AlexLachance
Posts: 2322
Joined: Thu Mar 11, 2021 8:14 am
Answers: 18
Location: Quebec
x 2521
x 2134

Re: How to find rollback'd component?

Unread post by AlexLachance »

Silver Surfer wrote: Thu Oct 27, 2022 10:04 am Why does it seem like Solidworks has gone down hill in quality since 2014? Why not make the next upgrade be the 2014 version? Anyway has this always been a problem with SW. I don't remember running into this issue in the past. The work around of suppressing everything in the Subassembly, inserting it into the assembly, and un-suppressing everything seemed to work for me. Thanks for that tip.
It's been like that since I've been using it. The error is often a memory error in SolidWorks. I fix it by accessing a part previously opened and rolling the bar up and back down.


It really isn't something that happens on a weekly basis.
Roberts P.
Posts: 1
Joined: Tue Aug 08, 2023 9:29 am
Answers: 0
x 9

Re: How to find rollback'd component?

Unread post by Roberts P. »

I've found a way of locating faulty file that has previously been saved in rollback state.

1. Open the assembly that contains the rollback component.
2. Navigate to FeatureManager and select ConfigurationManager.
3. Right click on top component, select Add Configuration... and see the pop-up error message. The message should contain the name of the faulty component.
4. Open the faulty component, undo rollback status and then save.

Sincerely yours,
Roberts :)
User avatar
DanPihlaja
Posts: 906
Joined: Thu Mar 11, 2021 9:33 am
Answers: 26
Location: Traverse City, MI
x 827
x 1023

Re: How to find rollback'd component?

Unread post by DanPihlaja »

So, I played with "Check active document", "Advanced Select", "Performance Evaluation", and "Assembly Visualization".

All with no luck. None of those tools checks the rolled back state. (FYI, apparently rolled back state is not equal to the state that says "Needs rebuild" which I thought was going to be a winner....but nope).
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
DanPihlaja
Posts: 906
Joined: Thu Mar 11, 2021 9:33 am
Answers: 26
Location: Traverse City, MI
x 827
x 1023

Re: How to find rollback'd component?

Unread post by DanPihlaja »

Roberts P. wrote: Tue Aug 08, 2023 9:43 am I've found a way of locating faulty file that has previously been saved in rollback state.

1. Open the assembly that contains the rollback component.
2. Navigate to FeatureManager and select ConfigurationManager.
3. Right click on top component, select Add Configuration... and see the pop-up error message. The message should contain the name of the faulty component.
4. Open the faulty component, undo rollback status and then save.

Sincerely yours,
Roberts :)
That works!!
image.png
In addition to this, if you have multiple parts that are rolled back, it will specify each one separately.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
Damo
Posts: 265
Joined: Wed Mar 17, 2021 1:36 am
Answers: 0
Location: Australia
x 187
x 227
Contact:

Re: How to find rollback'd component?

Unread post by Damo »

I had this issue today (SW2024SP2.0) After all this time, still not fixed.
I know which part to which the issue referred. I actually did put it in a "rollback state" for ,,, reasons. But I also did "roll to end" when I'd finished.

Thankds for your advise @Roberts P. , but this did not fix my issue.
Roberts P. wrote: Tue Aug 08, 2023 9:43 am I've found a way of locating faulty file that has previously been saved in rollback state.

1. Open the assembly that contains the rollback component.
2. Navigate to FeatureManager and select ConfigurationManager.
3. Right click on top component, select Add Configuration... and see the pop-up error message. The message should contain the name of the faulty component.
4. Open the faulty component, undo rollback status and then save.

Sincerely yours,
Roberts :)
I tried this too.
mp3-250 wrote: Thu Jan 06, 2022 1:00 am I stumped on this problem recently and sometimes it is not a real rollback part to cause it, but you have to FORCE ROLLBACK and ROLLFORWARD on the part you opened. It needs just one step back and forward to force a rebuild and the error disappears...
But this did not do the trick.

I tried this too.
Eddy Alleman wrote: Fri Dec 03, 2021 11:40 am I had the same problem last week.
Closing the assembly and solidworks and reopening solved it for me.
Eddy
Even shutdown SW in the task manager. Reopened assembly, same problem.
Even restarted my pc and tried again. Nope.

In the end, I created a new subassembly within the assembly to which I wanted to move my assembly and dragged the components of the errant assembly into this new subassembly, one-by-one until all where relocated.
After saving the new assembly with a very similar filename I then deleted the problematic assembly from the model, saved everything, closed the software and deleted the problematic assembly from the project folder.
It was then a simple matter of opening the model and renaming the newly created assembly with the original assembly's filename and moving on with my life..

For the record, there was no component in the"rollback state" SW was just to stupid to realise this and got stuck in some kind of feedback loop where it felt the need to double-down on its original incorrect statement. This from 2024 version.
mpaul
Posts: 10
Joined: Thu Apr 28, 2022 11:41 am
Answers: 0
x 2

Re: How to find rollback'd component?

Unread post by mpaul »

the only workaround I've found for this is

in the top level assembly, start rolling back parts and assemblies.

if the assembly saves, roll forward a few parts at a time and keep saving.

once the assembly give you the error on save, you have found the offending part or assembly.

if it's a part, just open it and fix it. if it's an assembly, repeat the process on that assembly to find the offending part

it's tedious and a pain in the @ss, but I've found it helps get you to the offending part quickly enough.
User avatar
AlexLachance
Posts: 2322
Joined: Thu Mar 11, 2021 8:14 am
Answers: 18
Location: Quebec
x 2521
x 2134

Re: How to find rollback'd component?

Unread post by AlexLachance »

Damo wrote: Wed Jan 22, 2025 10:56 pm I had this issue today (SW2024SP2.0) After all this time, still not fixed.
I know which part to which the issue referred. I actually did put it in a "rollback state" for ,,, reasons. But I also did "roll to end" when I'd finished.

Thankds for your advise @Roberts P. , but this did not fix my issue.



I tried this too.

But this did not do the trick.

I tried this too.

Even shutdown SW in the task manager. Reopened assembly, same problem.
Even restarted my pc and tried again. Nope.

In the end, I created a new subassembly within the assembly to which I wanted to move my assembly and dragged the components of the errant assembly into this new subassembly, one-by-one until all where relocated.
After saving the new assembly with a very similar filename I then deleted the problematic assembly from the model, saved everything, closed the software and deleted the problematic assembly from the project folder.
It was then a simple matter of opening the model and renaming the newly created assembly with the original assembly's filename and moving on with my life..

For the record, there was no component in the"rollback state" SW was just to stupid to realise this and got stuck in some kind of feedback loop where it felt the need to double-down on its original incorrect statement. This from 2024 version.
Were there ever virtual components within that assembly by any chance..? I wouldn't be surprised if virtual components could trigger this even though they are not existant anymore.

Was the assembly too large to do a sort of troubleshoot as @mpaul suggested? That's generally how I proceed too.
User avatar
Damo
Posts: 265
Joined: Wed Mar 17, 2021 1:36 am
Answers: 0
Location: Australia
x 187
x 227
Contact:

Re: How to find rollback'd component?

Unread post by Damo »

mpaul wrote: Mon Feb 03, 2025 12:00 pm the only workaround I've found for this is

in the top level assembly, start rolling back parts and assemblies.

if the assembly saves, roll forward a few parts at a time and keep saving.

once the assembly give you the error on save, you have found the offending part or assembly.

if it's a part, just open it and fix it. if it's an assembly, repeat the process on that assembly to find the offending part

it's tedious and a pain in the @ss, but I've found it helps get you to the offending part quickly enough.
Interesting...

I've never occurred to me to notice that an assembly might not save with a rollback'd part.

And so I actually just tried this, and my mileage varied greatly. Or I did it wrong.

My assembly did save without any issue despite purposely setting up a rollback'd part. No error or warning was offered.
And, I could not seem to get my assembly rollback bar to go any higher than the "Mates" folder. (In every assembly I tried..)

Traditionally, any rollback part issue I encounter is almost always clearly indicated by the forest fire of broken mates, and in-context features in the feature tree.

That is why the issue that led to this post was so confounding. There WAS NO rollback'd part.
SW was broken. Although there HAD BEEN a rollback'd part, I definitely rolled it forward againg.
There had to have been a glitch in the code somewhere that had corrupted that particular assembly I tried to move.

Thank you
User avatar
Damo
Posts: 265
Joined: Wed Mar 17, 2021 1:36 am
Answers: 0
Location: Australia
x 187
x 227
Contact:

Re: How to find rollback'd component?

Unread post by Damo »

AlexLachance wrote: Mon Feb 03, 2025 12:37 pm Were there ever virtual components within that assembly by any chance..? I wouldn't be surprised if virtual components could trigger this even though they are not existant anymore.

Was the assembly too large to do a sort of troubleshoot as @mpaul suggested? That's generally how I proceed too.
Thanks Alex.
I never used virtual parts, so this is/was not my issue. :cry:
User avatar
mp3-250
Posts: 672
Joined: Tue Sep 28, 2021 4:09 am
Answers: 20
Location: Japan
x 753
x 369

Re: How to find rollback'd component?

Unread post by mp3-250 »

Damo wrote: Mon Feb 03, 2025 4:23 pm Interesting...

I've never occurred to me to notice that an assembly might not save with a rollback'd part.

And so I actually just tried this, and my mileage varied greatly. Or I did it wrong.

My assembly did save without any issue despite purposely setting up a rollback'd part. No error or warning was offered.
And, I could not seem to get my assembly rollback bar to go any higher than the "Mates" folder. (In every assembly I tried..)

Traditionally, any rollback part issue I encounter is almost always clearly indicated by the forest fire of broken mates, and in-context features in the feature tree.

That is why the issue that led to this post was so confounding. There WAS NO rollback'd part.
SW was broken. Although there HAD BEEN a rollback'd part, I definitely rolled it forward againg.
There had to have been a glitch in the code somewhere that had corrupted that particular assembly I tried to move.

Thank you
This rollback problem indeed exists on multiple levels.
Real rolled back components are a thing, but I had some corrupted files without any apparent issue.

I suspect that neglecting to rebuild all configurations with CTRL SHIFT Q (not only the active one witj CRTL Q) is going to bite back sometimes with the data Inside assy "not in sync" with the real state of its own components.
Add all the lightweight, and large assy mess we had in the last 15 years to the equation ...
Also data based on bugged, corrupted or very old templates gave us some funny (not so) issue In the past.
Post Reply