What is Rebuild in SolidWorks?
When working with SolidWorks, sometimes you may have noticed that there is an icon that looks like a traffic light on your feature(s) in the FeatureManager Design Tree.
That traffic light icon is called the Rebuild icon in SolidWorks. If you make changes to a sketch or feature that requires to the rebuilding of the part, a rebuild icon is displayed beside the part’s name as well as beside the feature that requires the rebuild. What that means is that SolidWorks needs to rebuild that feature in order for the changes to take effect in the model geometry.
How do you Rebuild your model?
Generally, SolidWorks automatically rebuilds your model as soon as any changes are made. But, if for some reason it doesn’t, click the Rebuild icon present in the Standard toolbar or , or press Ctrl + B on your keyboard to manually rebuild your model.
What are Rebuild Errors?
Rebuild errors are those errors and warnings that you get after your model has been rebuilt (either by you manually or automatically by SolidWorks itself). There are various icons that appear on the Document’s Name present at the very top of the FeatureManager design tree and also on the features/sketches that issued those errors and warnings. These are of two types. Here we will tell you what they mean:
1. Rebuild Error: An icon with a “Down arrow in the Red Circle” indicates that there is an error in the model. A model with an error is not acceptable since it means that one or more of your features failed and hence model geometry is not created or a damaged model geometry is created instead. The name of the part/assembly file will be shown in red color if the file has a rebuild error. An icon with a “Cross in the Red Circle” will appear on the feature that failed after the rebuild. The text of the feature will also be shown in red color.
2. Rebuild Warning: A “Down arrow in the Yellow Triangle” icon indicates that there is a warning underneath the node indicated. A model with a warning can be accepted because it just tells you that there are missing references but the model geometry is created. A warning does not always mean that the model geometry is damaged but sometimes it can result in a changed or damaged geometry. If there is a warning, the name of the part/assembly will be shown in yellow color. An icon that has an “Exclamation mark in a yellow triangle” appears on the specific feature that issued the warning. The text of the feature or sketch will also be shown in yellow color.
Note: Generally rebuild warning is issued by a sketch, so you may have to expand the feature to find out which absorbed sketch has warned. And as soon as you expand the feature, its warning symbol will change from “Exclamation mark in a yellow triangle” to “Down arrow in the Yellow Triangle” indicating that the warning was raised from underneath that feature node indicated.
If a document or feature has both an error and a warning, the error icon is displayed.
How to fix Rebuild Errors?
Most of the time Rebuild error occurs because you made changes to a feature or sketch that is being used by another feature or sketch. When this happens, SolidWorks will prompt you that there is a Rebuild error or warning. You can click on Continue (Ignore Error) to continue rebuilding or you can click Stop and Repair to stop the rebuild on the feature/sketch that threw the error/warning.
You can also define this in the SolidWorks settings. Go to the Settings icon present in the Standard Toolbar. Under System Options, in the Messages/Errors/Warnings, you will find the option to specify what happens when a rebuild error occurs.
Tip: We would highly recommend you to keep this setting on Stop so that the rebuild process would stop as soon as any error/warning is encountered. If you choose to Continue, then you may find yourself with a long list of errors and warnings because of SolidWorks’ parametric behavior meaning that the Features get rebuilt in the order in which they were made originally. So, the success rate of each feature depends on the previous ones and it is highly likely that if a parent feature failed, then the child features would also have errors/warnings.
If you have a model with a lot of rebuild errors/warnings, we suggest you start from the top of the Feature Tree and work your way down. Often times you will notice that fixing an error high in the Feature Tree automatically resolves errors further down.
It is recommended that you use the Rollback Bar while fixing these errors. It makes sure that SolidWorks will only rebuild the features that are above this bar so it doesn’t waste time rebuilding all the features every time you fix a single error/warning. It becomes an inescapable necessity if your model contains a lot of heavy features like Sweeps, Wraps, etc.
Rollback Bar is present at the very end of the Feature Tree. Click and drag this bar to the feature that is below the one giving the error/warning or, right-click on the feature that is just below the one giving the error and select the Rollback button.
Use Roll to previous to roll back the bar to its previous position and Roll To End to roll back the bar to the end of the Feature Tree.
To view what the error/warning is for a specific feature/sketch, right-click on the Sketch or Feature that generated the error/warning and click What’s Wrong?
To display a list of all errors and warnings, left-click the Top node (that states the name of the part/assembly) in the FeatureManager Design Tree. Hover on any item in the list to get a tooltip explaining what the error/warning is. Click on any item in the list to select that item in the FeatureManager Design Tree.
Some general rebuild errors/warnings are listed below along with an explanation of how to fix them:
1. Rebuild Warning: Dangling Sketch entities.
These types of warnings are generally for dangling relations or dimensions. This means that some piece of geometry has been removed that the sketch referenced from something higher in the Feature Tree.
- To fix these warnings, while inside the sketch that issued this warning, click on the Display/Delete Relations tool present in the Sketch toolbar.
- There you will notice that all the dangling entities are highlighted in yellow color.
- Click on the All in this sketch option to access a drop-down menu and select the Dangling option from it to list only the dangling relations.
- Click on the Delete All button to delete all the dangling relations.
- You can now exit the sketch and the warning will go away for that sketch. However, deleting dangling relations may make your model Under-Defined and sometimes it may change your sketch geometry, so it’s recommended to again remake all the necessary relations.
2. Rebuild Warning: The Face or the Plane on which you created your sketch, is missing.
- To fix this error you have to reselect the face or plane on which you want to place your sketch. It can be the original face or some other face that may be suitable.
- Right-click on the Sketch that issued this warning and click on the Edit Sketch Plane button. Now you can select a new face/plane for your sketch.
3. Rebuild Error: Missing feature conditions.
- You can easily fix these types of errors by clicking on the Feature that issued the warning and selecting the Edit Feature button.
- Now you can redefine your feature, hence eliminating the error in the process.
4. Rebuild Error: Cut Feature failed to cut the model.
- To fix this error, first, make sure that your absorbed sketch has not changed.
- Then, if used, check whether the Selected Contours are right.
- Then check that the cut that you are making actually intersects the model. If you are working on a multibody part, make sure that you have selected the right body (i.e. the body that you want to cut) under the Feature Scope menu. Also, make sure the direction of the cut is not reversed.
Notice in the above image that under feature scope, the wrong body is selected (the selected body is highlighted in green), hence the rebuild error.
5. Rebuild Warning/Error: Missing edges/faces for fillet/chamfer.
- Click on the Fillet/Chamfer feature that issued the warning/error and select the Edit Feature button. Now you can reselect all the edges or you can also remove those edges if they are no longer present in the model.
6. Rebuild errors in Assembly are usually Mate errors. Edit the mate to redefine the missing entities. It is also recommended to start from the top and work your way down in the mate list while correcting the erroneous mates.
There are a lot of rebuild errors that you may encounter during your personal experience while working with SolidWorks. Listing and explaining all of them is beyond the scope of this article. But almost always, you can fix any rebuild error by editing the feature that threw the rebuild error/warning.