Tuning optimizations for better Solidworks performance

Hi @Rems51
Simple: if Solidworks offers you to save it in the new version, it is because it was not already converted.

We are working on small assemblies but we have a PDM: the network is therefore much less useful since we work mainly locally. It must help a little on loading times (but the local view must be on a good SSD and not an old HDD in IDE...).

To have a few files donated by suppliers, my advice would be to do systematic analysis of all external files and simplify them (especially if they are files that are likely to be reused regularly on your designs). Casting parts with thousands of small leaves for example: if we repeat this kind of file 10x in our simple assemblies we end up with crazy latencies.

If you use BeneInox (and probably the same with others): hunt for their material extrusions with logo: the complexity of the part goes from 1 to 20 or 50 because of this kind of details (totally useless and which don't even exist in real life on the parts):
image

5 Likes

For the version of the template files, I use VersionHistory from the MyCadTools tools:

There is also a macro (not found) or a manual method with an editor it seems to me but not found either!
And ideally, you shouldn't transform the old models by saving to the new version but start from the model provided by Sw and modify it to make it the new default model, which is longer but more efficient with much less bugs and latency.

1 Like

Hello

From experience, working within a network is not viable. Problems come from this one. It doesn't matter how good it is. In addition 1 cartoonist ok, several this poses a problem.
Antivirus, the IT underlay of companies or IT departments, are the few cases among others that pose a problem.

The only viable method is by PLM, Vault or PDM, it doesn't matter. Indeed, it allows you to extract the models you need locally. And update your cache of non-extracted parts locally.
You can disconnect from your network or not, without any problem.

This does not solve everything, but the modeling is also a guarantee of the speed of your SolidWorks. Remember, it's the updates that slow down your PC. Constraints in assemblies, configurations (especially in assemblies). The simplicity of a design is to be preferred.

I forgot about a proper PC with SolidWorks, not a standard PC that your company sells you as a CAD PC :nauseated_face:

Hello;

To find out the version of the files, it is also possible to add the column " Last SW recording with " in the file explorer:

To complete the remarks of @FRED78 , on the assemblies:

  • try to make sure that you have as many degrees of freedom as possible on your constraints in the head assemblies (even if it means " fixing " everything).
  • Avoid the use of flexible components as much as possible.
  • Don't hesitate to make sub-assemblies...
    and to paraphrase @froussel , yes suppliers (like Bene inox) are annoying with their logos, we sometimes spend hours removing them but it's worth it in use...

Also remember to regularly delete the content of your " Temporary " directories, the best is to do it by hand, but it is also possible to go through SolidworksRx (included in the Solidworks installation), and restart Solidworks regularly. As you are a mobile phone user, check if the " quick start" option is activated on your computer (if so, then I advise you to remove it)... Also make sure to turn off your PC from time to time (laptop users tend to never do this...)

4 Likes

PDM is great when it is well exploited and managed, this relies on Windows for version management or certain information remains limited

2 Likes

Hello

I know it's more delicate with a laptop, but you should also favor the high or optimal power mode, at least when you are on the mains, rather than the normal mode, or worse the power saving mode. The CPU will run at full capacity instead of going back and forth between a slow state and a fast state.

3 Likes

Hello @Rems51 ! Like you, we have very large assemblies and significant slowness! I push the rework of some assemblies which allows you to see the part / the function that poses pb for example. Rework the steps as well and remove as much as possible unnecessary details. Sometimes the swap file is badly sized, but some of the community are more specialists than me on the subject! Otherwise disable unnecessary add-ins, real view or instant 3D. Good luck!
Méthodologie optimisation

3 Likes

I don't @d_payen

For WWTPs to break ties
The parts I remodeled so badly designed with doubled or tripled functions, simplified the design. The result is clear: the weight is divided by 2 or 3.
The assemblies I don't talk about it's crazy, we get there by being rigorous, removing redundant constraints (parallelism, etc) we arrive at an impressive slimming cure.

@Sylk, I agree with you on the optimization of the parameters. But when we do CAD, on SolidWorks or on large assemblies, we size the stations

3 Likes

Quick question:

A removed state of features and constraints reduces rebuild, but does it reduce load times?

From memory, when I put a text logo in a deleted state (without completely removing it from the mode), everything was faster. Or was it just an impression?

It seems to me that yes during the recording the assembly weighs less, but it is not necessarily faster. SW rebuilds when opening the configurations, but you can tell it not to. At one time or another, the elements you design weigh heavier and heavier when opened.

1 Like

The ideal is to delete before and re-export to re-import clean (not always easy).
Or better to redraw with simple functions when possible.
Otherwise, another point is to lower the quality of the image for recurring objects (screws, nuts...)
image
And also that of the models if too high.
This had greatly contributed to the reduction of our problems on large assemblies.
Edit: @sylk the part is heavier (longer network time, on the other hand graphically faster to load (minus detail)

2 Likes

Hello
Get Version History Example (VBA) - 2024 - SOLIDWORKS Design Help
This macro lists all successive versions of the template used in a file.
For the rest, I also recommend being in performance mode in terms of power options so that the station never goes into low clock frequencies (I had a bug on my computer that made the station not exceed 1Ghz it was hell on SW).
Another thing, if you ever have electronic boards from software exports like Altium, remove as many components as possible and check that the electronics engineers have not downloaded models that contain for example all the winding for a motor driver (it greatly weighs down the SW calculation when displaying even if the element is not visible).
Like the others, deactivating auto saves for years.
As far as CPU or RAM usage is concerned, Windows displays an average of all active cores (hence a " misleading" display), for RAM at home, we were flirting with 32GB with large assemblies (don't forget that W11 pumps a maximum of base already) since the switch to 64GB no problems with limited resources in some cases.

3 Likes

Another thing that hasn't been mentioned so far is the use of the blocking bar. Putting it at the bottom will allow SW to never rebuild the part (small padlocks on the functions).
image
image

4 Likes

Wow! Be careful with the blocking bar, it blocks everything (no more updates possible. On a part or when you are working. After that, she gets out.
Again on a piece ok, applied on the fly or on a set of parts :thinking:.
Following the unconstrained sketch bug on the skeletons integrated in a room, we had been offered it, at the time I found the trick interesting, after unlocking 100 parts because the updates were not done... Lastuche seemed less good :sweat_smile:to me.
I prefer to wait a few minutes at the opening.

I was thinking of another trick to relieve the openings or updates of your big assemblies, have you tried to create a lighter configuration by putting screws and other in deletion? And see if when switching to the other (complete) configuration it is not faster.

On the drawings, when I work on heavy shots, I hide the unnecessary views.

2 Likes

A trick that can also help: the removal of " useless " constraints or more news.
For example, a part that you would have removed from your assembly but whose constraint remains unresolved (but why on earth does Solidworks do that?)

Macro Identification and Removal of Faulted Constraints - Macro - myCAD Forum

1 Like

I would even say in the case of unnecessary constraints, remove parallelism constraints in sketches as well as in assemblies when possible. Or find another way to coerce.
Parallelism is often redundant with other constraints or dimensions.

Do a test, go into a sketch, enable the sketch feature " Show/Delete Relationships " and as soon as you see parallelism, delete them. If the sketch is not constrained, add a constraint of the collinearity type or a dimension or direction. You're going to delete a lot of them.

It is important to know that constraints form loops that suppress degrees of freedom and often orientation constraints are redundant to positioning constraints. You have two constraints instead of one. And when your sketch is large or many constraints accumulate, SolidWorks gives you a sketch on constraint for no reason. Well, yes, but it's hard to control!

In assemblies it's different as @coin37coin says, the constraints that have not been removed are due to the dialog box that asks you beforehand if you want to delete the elements related to a part that you are excavating. If this box has been unchecked, then next time it will keep the constraints and put them in a delete state.

The skeleton principle eliminates 2 thirds of the constraints of an assembly, except for the screws

But that doesn't take away from the fact that you have a high-performance PC on SW

1 Like

I don't know about you, but I have the strange impression that @FRED78 has a lot of skeletons in his closet! :stuck_out_tongue_winking_eye:

4 Likes

I work for a company that wants to work on SW with skeletons.
After + 20 years on this software I have seen pretty much all the bugs and methods that work (but I am open to learning).

But for the past three years, when I joined this company. I have some clever people who play with PCs and certainly the settings of my software and hardware :sweat_smile:.

And I try to maintain a method on the project and on the software. That said, my PCs (yes I have several) don't all work the same :rofl:, which is the last straw for a company that provides standardized :joy: PCs.

So I discovered new BUG or to paraphrase @sbadenis I dug up new skeleton :wink:.

1 which I liked much more "we don't know about this bug, please indicate the error code". I admit I had a lot of fun SW asks you for the BUG :rofl: number :rofl:

But I take it with a lot of hindsight :crazy_face:, even if sometimes some employees have a curious way of working or collaborating for their clients, still skeletons :smile: . Here it allows me to show these same collaborators the explanations, because I gave them this site as a reference :wink:

After all, I don't hide behind my Psquedo and I assume perfectly what I say, with all due respect to some.

Another point that considerably weighs down the assemblies, the constraints in red (the worst of all that make the software recalculate), sketch them with freedom (-)
Another point, the unhidden sketches or plans, points of origin...
Even if the assembly mode hides the sketches (display show hidden) they are still loaded when the assembly is opened unless hidden in the part (cf a Visiativ trainer)
image
Some of these points combined in the example above make an assembly lag considerably.
The transparency of some parts also makes you row a lot, as well as big repetitions (like wire mesh), the only type of part where I systematically add the blocking bar...
Edit: @FRED78 I also have collaborators who bring together all the above points in the same assembly and when I go back to an important assembly it sometimes takes me an hour or 2 to go back to all these points.
On the other hand, much less crash afterwards and a considerably faster opening...

5 Likes

@sbadenis
I'm from school where I hide everything and only show what I want to show.
This saves me from having a bag of knots when I want to show a single sketch for example.
But to go in your direction, I have one, who gave me axes on all these oblong sketches! no but Hello !! , but this same person puts axes on holes with the same tool :crazy_face: , it's psychology. At the same time I laugh about it...

But my PC problems go far beyond SW, I've been using this software for many years. I had the opportunity to work on LNG carrier bridges (piping) with the routing module and fully parameterized assemblies. Suffice to say that the assemblies reached significant weights and a just incalculable number of parts.
Now I have a lot of assembly but nothing insurmountable.

Now he just changed my PC m^me config all the same, even under a layer of sea..., and curiously it works (Standard :wink:exchange). We are more in: the exchange of who will have the last words :sweat_smile:

3 Likes