"edited but not saved" for flexible assemblies/layout assemblies
-
- Posts: 423
- Joined: Tue Mar 09, 2021 10:11 am
- x 439
- x 233
"edited but not saved" for flexible assemblies/layout assemblies
As soon as I make an assembly flexible & mate it within another assembly to be fully constrained I ALWAYS do get the "File edited but not saved" warning on it.
There is no way around it, is there?
I.e. we have adjustable rods that are adjustable from 18" to 30" and I don't want to have configurations for every .5mm.
We also have hinges on doors that are different for each door depending on the available angles.
But this is of course slowing down our assemblies because every time it has to be rebuilt based upon this.
How do you circumvent this problem?
Maybe put the same part (i.e. for hinges) twice in there & change the qty to be .500? That way we can place each piece individually & constrain it fully & BOM would still show only a QTY of 1. That would impair our BOM selection though, wouldn't it (Display all configurations of the same part as one item)?
Also we noticed that i.e. our drawers which have a layout sketch in them to determine their overall length/width/height have a similar problem:
Although we defined a layout sketch the assembly will still update in the 'second round' of solving this assembly - why?
Any ideas?
Wasn't the layout sketch designed to prevent things like that - isn't the layout sketch the first 'feature' after the origin in an assembly?
What do I have to do to prevent this circular referencing?
There is no way around it, is there?
I.e. we have adjustable rods that are adjustable from 18" to 30" and I don't want to have configurations for every .5mm.
We also have hinges on doors that are different for each door depending on the available angles.
But this is of course slowing down our assemblies because every time it has to be rebuilt based upon this.
How do you circumvent this problem?
Maybe put the same part (i.e. for hinges) twice in there & change the qty to be .500? That way we can place each piece individually & constrain it fully & BOM would still show only a QTY of 1. That would impair our BOM selection though, wouldn't it (Display all configurations of the same part as one item)?
Also we noticed that i.e. our drawers which have a layout sketch in them to determine their overall length/width/height have a similar problem:
Although we defined a layout sketch the assembly will still update in the 'second round' of solving this assembly - why?
Any ideas?
Wasn't the layout sketch designed to prevent things like that - isn't the layout sketch the first 'feature' after the origin in an assembly?
What do I have to do to prevent this circular referencing?
So, here are combined the findings:
Go to full post- A flexible assembly is saved in the exact display state it is currently in. Any movement of this will show the 'edited but not saved' in PDM because the 3D data that is shown is modified. This rules out flexible assemblies for us because you will never know if something is just modified because it's flexible.
- Having no display data marks causes this issue.
- Not upgraded legacy cosmetic threads (pre-2019) can cause the edited but not saved issue.
- Virtual assemblies with virtual parts cause the edited but not saved issue. We used it a lot for purchased parts and it seems SolidWorks hast to load the virtual parts in the virtual assembly every time (or at least do some calculations). Maybe empty virtual parts do not cause this issue, I'm unsure.
- Sheet metal parts create a flat pattern basically every time you make a drawing. A display data mark is NOT added automatically ALL configurations. The first one will be omitted (even if it is checked in the settings). This can cause the edited but not saved issue. Bonus: If you use the sheet metal feature it WILL activate the 'automatically create cut lists/update cut lists automatically' checkmarks. They have to be deactivated AFTER using the sheet metal feature.
- Equations can also cause this issue (circular links, broken equations, equations linked to external file). Not regularly though - it seems that only the parts with those equations that are the highest in the assembly structure will cause issues (Part A in Assembly A causes it - but part B in Subassembly B in Assembly A does not cause issues). Equations are also tricky because they are (it seems) not ALWAYS calculated. Sometimes you have to use the feature/open the equations dialog to get the warning.
- Assembly features are a mystery to me. They can cause this issue too. Mostly because it seems that all assembly features are calculated at point blank (all parts unmodified in their 'mated' place) - meaning that anything that is i.e. mated to an assembly feature (cut face) or is linked to any assembly feature might fail. This includes patterns.
- Here comes my least favourite issue because it is sometimes impossible to correct and REALLY hard to set up properly: External referenced parts
- If you have parts that have external references they will always have to be checked out & saved again if you modify the externally linked parts/assemblies. REGARDLESS if this change affects the piece or not.
- Parts with external references should be fixed in space & should (if possible) have nothing mated to them nor anything else.
- You also have to carefully order the update holders for those externally linked pieces:
- BUT that does not always solve the issue, because the ORDER of how you INSERTED the parts is crucial and CAN NOT BE CHANGED AFTERWARDS
This looks good at first sometimes as soon as you open the mate folder it will show you a red, failed update holder. I could only solve this by deleting the part & inserting it again (put it at the end of the queue). I think that in the old forum @Roasted By John talked about this & insisted that the FIRST PART YOU INSERT for a top down design should be the one that drives your references. This is why.
-
- Posts: 423
- Joined: Tue Mar 09, 2021 10:11 am
- x 439
- x 233
Re: "edited but not saved" for flexible assemblies/layout assemblies
Made a very disturbing discovery today that is partially the culprit:
McMaster Carr fastener models use equations for almost everything - but often they have warnings in them because they are i.e. circular.
Especially old items (we have a few of them) or modified items from them (we have some of them) have this problem.
Look at this: I knew this would come back at one point like a boomerang and here we are.
Especially painful about this:
https://r1132100503382-eu1-3dswym.3dexp ... BIgASIdKIw
This 'modified on open pencil' only shows in the assembly structure and not within the actual part. And this does not always happen either - nothing was showing for me until one rebuild suddenly showed a pencil again. Only after going into that assembly & doing a performance evaluation it showed the fastener - within the fastener I had to pro-actively go into the equations to finally get an idea.
I'll try to fix it next week - otherwise we might have to replace basically all of our fasteners with new ones.
McMaster Carr fastener models use equations for almost everything - but often they have warnings in them because they are i.e. circular.
Especially old items (we have a few of them) or modified items from them (we have some of them) have this problem.
Look at this: I knew this would come back at one point like a boomerang and here we are.
Especially painful about this:
https://r1132100503382-eu1-3dswym.3dexp ... BIgASIdKIw
This 'modified on open pencil' only shows in the assembly structure and not within the actual part. And this does not always happen either - nothing was showing for me until one rebuild suddenly showed a pencil again. Only after going into that assembly & doing a performance evaluation it showed the fastener - within the fastener I had to pro-actively go into the equations to finally get an idea.
I'll try to fix it next week - otherwise we might have to replace basically all of our fasteners with new ones.
- jcapriotti
- Posts: 1869
- Joined: Wed Mar 10, 2021 6:39 pm
- Location: The south
- x 1215
- x 1999
Re: "edited but not saved" for flexible assemblies/layout assemblies
Are your fasteners using configurations? If not, I'd remove the equations.
The problem is that they created an equation to a cosmetic thread which are strange creatures in SolidWorks. I'm not quite certain when they rebuild, they show under the feature they are attached to but they aren't really there at that position in the tree. I suspect they rebuild at the end after everything else, thus the pattern equation is circular by referencing it.
The problem is that they created an equation to a cosmetic thread which are strange creatures in SolidWorks. I'm not quite certain when they rebuild, they show under the feature they are attached to but they aren't really there at that position in the tree. I suspect they rebuild at the end after everything else, thus the pattern equation is circular by referencing it.
Jason
Re: "edited but not saved" for flexible assemblies/layout assemblies
The McMaster parts never have configs. I always delete the equations.jcapriotti wrote: ↑Fri Jan 21, 2022 6:09 pm Are your fasteners using configurations? If not, I'd remove the equations.
The other reason why flexible assemblies cause problem is that when you make it flexible a new secret configuration is created for the assembly. You can only see this configuration if you open the flexible child assembly while you also have the parent assembly open. The configuration drop down menu in the flexible assembly will then show the secret configurations, one for each flexible instance. These added configurations may be triggering the 'edited but not saved' flag.
-
- Posts: 423
- Joined: Tue Mar 09, 2021 10:11 am
- x 439
- x 233
Re: "edited but not saved" for flexible assemblies/layout assemblies
That is.... rather unfortunate.JSculley wrote: ↑Sat Jan 22, 2022 12:57 pm The McMaster parts never have configs. I always delete the equations.
The other reason why flexible assemblies cause problem is that when you make it flexible a new secret configuration is created for the assembly. You can only see this configuration if you open the flexible child assembly while you also have the parent assembly open. The configuration drop down menu in the flexible assembly will then show the secret configurations, one for each flexible instance. These added configurations may be triggering the 'edited but not saved' flag.
So any idea how to circumvent this problem for i.e. the adjustable rod?
- AlexLachance
- Posts: 2195
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2382
- x 2021
Re: "edited but not saved" for flexible assemblies/layout assemblies
Hey Berg,
Is your flexible assembly mated to it's environment (planes, origin) or is there one fixed part and the rest are attached to them?
Is your flexible assembly mated to it's environment (planes, origin) or is there one fixed part and the rest are attached to them?
Re: "edited but not saved" for flexible assemblies/layout assemblies
Every time I've tried to use flexible assemblies it results in nothing but headaches.
When I use pneumatic cylinders or the like, I make configurations for each critical length used in my assembly. IMO, that is less work than always fighting with flexible assemblies.
When I use pneumatic cylinders or the like, I make configurations for each critical length used in my assembly. IMO, that is less work than always fighting with flexible assemblies.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
- AlexLachance
- Posts: 2195
- Joined: Thu Mar 11, 2021 8:14 am
- Location: Quebec
- x 2382
- x 2021
Re: "edited but not saved" for flexible assemblies/layout assemblies
It's understanding how the principle works that's hard because it's really not as evident as it seems to be. The environment plays an important part for flexible assemblies. If you are not mated to the environment, your flexible sub-assemblies always kind of "rebuild" themselves.SPerman wrote: ↑Mon Jan 24, 2022 11:38 am Every time I've tried to use flexible assemblies it results in nothing but headaches.
When I use pneumatic cylinders or the like, I make configurations for each critical length used in my assembly. IMO, that is less work than always fighting with flexible assemblies.
Re: "edited but not saved" for flexible assemblies/layout assemblies
My problem was the flexible assemblies ALWAYS had a yellow triangle. I would open the subassembly, and there was nothing wrong. The only way I found to get this to go away was to set the assembly to non-flexible, and then change it back to flexible. That worked until the next time the assembly was opened, at which point it started all over again.
I'm not saying it wasn't my fault, or that there aren't workflows to eliminate this behavior, but for me, there were easier solutions.
I'm not saying it wasn't my fault, or that there aren't workflows to eliminate this behavior, but for me, there were easier solutions.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
Re: "edited but not saved" for flexible assemblies/layout assemblies
Except, you weren't opening it to the secret flexible configuration. If you open the parent assembly, open the flexible assembly and then switch to the 'flexible-xxxx' config, the rebuild errors may be there. It's all the usual configuration stuff (mates from other configs that should be suppressed, components that are fixed in one config and not others, etc).
Re: "edited but not saved" for flexible assemblies/layout assemblies
I suspect you are correct. And it might have been easily fixable if I knew about the secret configs. (I have seen them, but didn't really give them any consideration.)JSculley wrote: ↑Mon Jan 24, 2022 6:26 pm Except, you weren't opening it to the secret flexible configuration. If you open the parent assembly, open the flexible assembly and then switch to the 'flexible-xxxx' config, the rebuild errors may be there. It's all the usual configuration stuff (mates from other configs that should be suppressed, components that are fixed in one config and not others, etc).
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
-
- Posts: 423
- Joined: Tue Mar 09, 2021 10:11 am
- x 439
- x 233
Re: "edited but not saved" for flexible assemblies/layout assemblies
Eliminating flexible assemblies, updating cosmetic threads & deleting useless equations seemed to somewhat fix my problem. Almost.
So here a follow up question:
If you have virtual parts in an assembly for i.e. a purchased part - will that also always show me an 'edited but not saved' warning because those parts are saved in that assembly?
In my example it's a door hinge..
Thank you for all the input already. It helped me discover new things.
Edit:
So here a follow up question:
If you have virtual parts in an assembly for i.e. a purchased part - will that also always show me an 'edited but not saved' warning because those parts are saved in that assembly?
In my example it's a door hinge..
- So my assembly (aka the whole part that you buy) is the door hinge that consists out of virtual parts.
- This assembly has two configurations (closed/open) which both have a display data mark
- I upgraded the screws & holes from the hole wizard to have the 'new' cosmetic threads
- I deleted ALL equations from the parts
- I deleted ALL custom properties from those files (just to be sure)
Thank you for all the input already. It helped me discover new things.
Edit:
It was fixed & the rest was attached to it.AlexLachance wrote: ↑Mon Jan 24, 2022 10:34 am Hey Berg,
Is your flexible assembly mated to it's environment (planes, origin) or is there one fixed part and the rest are attached to them?
-
- Posts: 423
- Joined: Tue Mar 09, 2021 10:11 am
- x 439
- x 233
Re: "edited but not saved" for flexible assemblies/layout assemblies
So, here are combined the findings:
- A flexible assembly is saved in the exact display state it is currently in. Any movement of this will show the 'edited but not saved' in PDM because the 3D data that is shown is modified. This rules out flexible assemblies for us because you will never know if something is just modified because it's flexible.
- Having no display data marks causes this issue.
- Not upgraded legacy cosmetic threads (pre-2019) can cause the edited but not saved issue.
- Virtual assemblies with virtual parts cause the edited but not saved issue. We used it a lot for purchased parts and it seems SolidWorks hast to load the virtual parts in the virtual assembly every time (or at least do some calculations). Maybe empty virtual parts do not cause this issue, I'm unsure.
- Sheet metal parts create a flat pattern basically every time you make a drawing. A display data mark is NOT added automatically ALL configurations. The first one will be omitted (even if it is checked in the settings). This can cause the edited but not saved issue. Bonus: If you use the sheet metal feature it WILL activate the 'automatically create cut lists/update cut lists automatically' checkmarks. They have to be deactivated AFTER using the sheet metal feature.
- Equations can also cause this issue (circular links, broken equations, equations linked to external file). Not regularly though - it seems that only the parts with those equations that are the highest in the assembly structure will cause issues (Part A in Assembly A causes it - but part B in Subassembly B in Assembly A does not cause issues). Equations are also tricky because they are (it seems) not ALWAYS calculated. Sometimes you have to use the feature/open the equations dialog to get the warning.
- Assembly features are a mystery to me. They can cause this issue too. Mostly because it seems that all assembly features are calculated at point blank (all parts unmodified in their 'mated' place) - meaning that anything that is i.e. mated to an assembly feature (cut face) or is linked to any assembly feature might fail. This includes patterns.
- Here comes my least favourite issue because it is sometimes impossible to correct and REALLY hard to set up properly: External referenced parts
- If you have parts that have external references they will always have to be checked out & saved again if you modify the externally linked parts/assemblies. REGARDLESS if this change affects the piece or not.
- Parts with external references should be fixed in space & should (if possible) have nothing mated to them nor anything else.
- You also have to carefully order the update holders for those externally linked pieces:
- BUT that does not always solve the issue, because the ORDER of how you INSERTED the parts is crucial and CAN NOT BE CHANGED AFTERWARDS
This looks good at first sometimes as soon as you open the mate folder it will show you a red, failed update holder. I could only solve this by deleting the part & inserting it again (put it at the end of the queue). I think that in the old forum @Roasted By John talked about this & insisted that the FIRST PART YOU INSERT for a top down design should be the one that drives your references. This is why.