Build Trust into Your Models with SOLIDWORKS Design Checker

Oboe Wu | Comments | September 12, 2017

As today’s manufacturing shifts toward model-centric processes, 3D models with integrated annotations are playing an increasingly important role. They drive multiple aspects of the production process, such as machining steps, inspections, process planning, packaging and supply chain collaborations. Therefore, it is vital to build high-quality models and establish trust in 3D models.

A previous model-based definition (MBD) implementation blog post briefly touched upon model verifications and validations. In this article, let’s explore a tool included in every seat of SOLIDWORKS, Design Checker. This tool helps to automatically check issues against standard and requirement compliances. One common misunderstanding is that Design Checker covers only 2D drawings. Actually, it analyzes a wide range of requirements for both 2D drawings and 3D models. Table 1 summarizes the tool’s coverage through SOLIDWORKS 2017 for your reference. We will focus on the 3D model checking in this article.

Table 1. Design Checker coverage

Areas Requirements
Document
  • Dimensioning Standard
  • Arrow Style
  • Custom Property
  • Units Setting
  • Reference Upto Date
  • Font (Note, Dimension, Detail, Detail View Label, Section, Section View Label, View Arrow, Surface Finish, Weld Symbol, Table, Balloon)
  • Overridden Mass Properties
  • Custom Check
  • Virtual Sharp
  • File Location
Annotation
  • Arrow Style
  • Font Style
  • GTOL Datum
  • Spell Checker
Dimension
  • Overridden Dimension
  • Arrow Style
  • Font Style
  • Units Setting
  • Overlapping Dimension
  • Replaced Original Text
  • Text Position
  • Dimension Precision
Drawing
  • Standard Template
  • Layer
  • Overlapping Views
  • Title Block
  • BOM Balloon
  • View Display Style
  • Dangling Dimension/Annotation
  • Extension Line Visible Gap
Part
  • Material
  • Bend Table
Assembly
  • Component Material
  • Mate Error/Warnings
  • Fixed Parts
  • External References
  • Suppressed Components
  • Interference Volume
Feature
  • Feature Error/Warnings
  • Fully Defined Sketch
  • Standard Hole Size
  • Suppressed Feature
  • Feature Positioning

As you may have noticed, you can build custom checks using the open application program interface (API) shown in Figure 1. The open architecture allows you to expand the verifications beyond the current 50 or so requirements that are listed in Table 1. For example, Figure 1 shows two additional custom macros to verify Buried Features and Up-to-Date Bill of Material (BOM).

Figures 1. Custom Checks using Design Checker.

To access the Design Checker tool, you may first need to load it on the Add-Ins Manager as shown in Figure 2. Then you can access it on the Evaluate command bar as shown in Figure 3.

Figures 2. Load Design Checker on the Add-Ins Manager.

Figures 3. Access the Design Checker button on the Evaluate command bar.

Now let’s walk through a specific use case to understand how Design Checker works. Figure 4 presents a base plate model attached with annotations. Typical checks could include making sure that the dimensions match the actual geometries, that the part material is correct, and that the annotation styles comply with certain standard requirements.

Figure 4. A base plate attached with annotations.

The first step is to build these requirements into a standard guideline in a separate application as shown in Figure 5. The user interface is straightforward. You just press the appropriate requirement button that appears on the left that you want to check, and then specify several details, such as the criticality (Critical, High, Medium and Low).

The criticality level can help you focus on the most important issues when there may be hundreds of items to review. For instance, mismatched dimensions are typically critical because manually altered dimension texts may not reflect the true model sizes. Therefore, mistaken dimension readings could impact production decisions such as machining procedures, assemblies, tooling design or packaging.

The correct material assignment could be a high priority as well if your process is driven by the SOLIDWORKS model material selection, whereas something like the annotation font may just be an aesthetic issue that would be a low criticality. However, there are indeed certain standards such as the GB standards in China that require long Fang Song font for mechanical engineering documentations. The Design Checker tool is flexible enough for you to choose the appropriate criticality level per your practices.

Figures 5. Include a requirement against “Replaced Original Text” and assign “Critical” as its priority.

One heads-up here is that there is another button called “Overridden Dimension” on the left. I found that it worked only for 2D drawings in which the “Override Value” box was checked. However, in the case of the 3D model featured in this article, we are selecting the option of “Replaced Original Text.”

In the same way, you can include other requirements such as the material and the annotation font as summarized in Figure 6. Now, please save this standard guideline file to your local folder for the next step. Its file extension is swstd, which is an abbreviation for SOLIDWORKS standards.

Figures 6. A summary of selected requirements.

Next, let’s close the separate application, and go back to the SOLIDWORKS model to run the verifications following the saved guideline. Figure 7 illustrates the three clicks in the SOLIDWORKS window:

  1. Press the button to Check the Active Document
  2. Load the guideline file saved previously
  3. Click “Check Document”

Figures 7. Load the Guideline File and check the active document.

At the step 2, you may notice other standard guidelines such as din and jis. These are predefined requirements according to the German national standards, Deutsches Institut fur Normung (DIN), and Japanese national standards, Japan Industrial Standards (JIS). You may follow these out-of-the-box standards or customize your own checking as described previously. You can also run multiple standards at the same time. In this case, we will just run the customized one.

The result is shown in Figure 8. The high criticality issues are organized at the top of the figure, which are the replaced original texts in this base plate model.

Figures 8. Prioritized issues on the Result List.

Let’s review each category. There are several reference dimensions that can be used to identify the overall sizes of this base plate quickly. However, thanks to the automatic checks, several altered dimension texts are detected and highlighted in the magnifying glass as shown in Figure 9.

Figures 9. A manually altered dimension text is automatically detected and magnified.

Upon reviewing the reference dimension properties, you can see the text was manually entered as “800” as shown in Figure 10.

Figures 10. A mistaken reference dimension was manually entered.

You can correct this by entering<DIM> to call out the correct geometry size as shown in Figure 11. You can also delete the in correct dimensions and create new ones. It would be great if the software could help correct this issue by automatically restoring the semantic pointer <DIM> in future releases. That way, end users won’t need to manually type in anything, which can always potentially introduce errors.

Figures 11. Typing in <DIM> to call out the correct dimension.

I hope this quick example shown in the article can help you get started with Design Checker. One key takeaway is that the tool can help you ensure that standards and requirements are met in not only 2D drawings, but also in 3D models.

Please feel free to leave your comments or questions in the comments area. To learn more about how SOLIDWORKS Design Checker can help build trust into your models, please visit its product page.


About the Author

Oboe Wu is a SOLIDWORKS MBD product manager with 20 years of experience in engineering and software. He is an advocate of model-based enterprise and smart manufacturing.

Recommended News