I've got parts and assemblies with several important equations controlling their features. Is it possible to hide these equations (just like you hide sketches or parts) from the Equation manager so that they disappear from sight, but remain active? This would be to prevent anyone from accidentally editing or deleting them, plus it would clean up the Equation manager and leave visible only the basic values that can be manually edited.
SolidworksConfigurations/design Tables
I had a similar problem, and couldn't hide the equations, as a workaround I've created a excel sheet and linked to it, leaving only the editable values.
Jean G.
Hi Rob,
that's exactly what I've been doing. The main assembly has been simplified as much as possible, with the most important variables on top, and as much work as possible is done by equations in the subassemblies out of the user's sight.
However, there are still lots of equations that could be broken by some unfortunate butterfinger.
Yeah but you did it 100x better
Sorry Rob. I didn't notice that you had already mentioned it.
Another thing I love about using Design Tables based on Excel is the ability to lock sheets or cells. Most of the time I do not use a password. The locking then takes an overt act to unlock them to do anything to them. This alone has prevented many, many errors when someone unwittingly attempted to move or overwrite even one cell.
You can't hide them....but you can lock them. By exporting them to be controlled by a text file.
Its not ideal and not really what you wanted, but it might work for your purposes.
After you press the export button, you can decide which equations will be controlled by the text file by checking and unchecking the boxes.
So, in this picture, equations B thru G are controlled by the text file and not editable inside the part/assembly file unless the user manually unchecks the blue box for that line.
Again....not ideal, but maybe it will work for you.
I've never needed a statement like that right now.
I don't know where it's needed, what's the use.
But I wonder what you've got, links, pdf, self-examples .....
Can you inform me.
Maybe you should create a topic like you do in macros.
Thanks Rob, I hadn't played with that functionality...Good to know.
From another post:
+1 for the Design Table solution.
To complicate things I often have configured equations and a DT is absolutely the best for handling that.
Matt, I did use a Design Table for the gear equations. "Locking" them from accidental change was one big reason, but another is that I find the equation construction in Excel to be easier than in the SWX equation manager. Plus, linking to values in other distant cells or sheets is a breeze.
Hi Matt
you can do this already.
Switch to the ordered list - uncheck auto solve order
Drag using the number on the left, turn on Auto order again
Result
It's a bit tricky dragging till you get the hang of it.
Note you can do this for any equation, not just a GV.
Although switching back to Autosolve order will rearrange by dependency, but the ones that don't matter will stay as you left them.
Hope that makes sense
Hello,
The Top Ten for 2020 is open (even though it's been defiled by its new title):
Kevin
I really think that someone should create a TTL Idea on this...And I think that should be the correct answer to this question.
It would be really nice to take 's gear and be able to lock down some of the equations and leave others to be changeable to have a robust changeable model. (It's been a while since I looked at it, and he may have used a DT, but I played with it and used equations, but you get the point.) I'm sure there are other examples, but that one came to mind.
Another thing that would be helpful, would be to be able to drag and drop equations and global variables up and down in the equation manager. If I want to put the changeable ones at the top, I have to start over...EVERY TIME...
Hello again,
Another thought is to use a design table and put the non-editable ones in it and leave the editable ones as global variables in Equations.
A lot of setup up front, but it moves the coding into the DT where no one should be going on a normal basis.
Kevin
Hello,
Are the "basic editable" ones common enough such that you can use Property Tab Builder to create an "input panel" for these so no one has to open the Equations dialog?
Kevin
I see... You can create a assembly on top of the final one, create new variables and link to the ones you need to change, this way the final assemble will have only the things you want to change and in the existing assembly you'll only have links.
Hi Antti
Not that I'm aware of.
It would make a nice idea for the Top 10.
Sometimes what we do here is
-Define an Interface for the model. ie a list of all the key driving dimensions.
Then make Global Variables for all the key dimensions and put them at the top of the Equation Manager.
Most of the functional equations are then buried down below.
You can also add a comment to an equation, which is useful, but will probably be ignored.
I quite like John's idea of putting your equations in another part, but I guess it could just push the same problem there.
A final thing. You can save out your equations to a text file.
You should at the very least use this to back them up (unlinked)
But I wonder what would happen if you made the text file read only.
I personally don't like the linked equations thing because I don't think it works with configurations, or at least it didn't.
These only show up in the part or assembly file. If you use a sketch part that controls the entire assembly you could hide those sketches etc..
I've considered that too. But this particular project should work entirely within SolidWorks itself with no need for external links or other programs.