SOLIDWORKS · configurations
SOLIDWORKS design tables: configurations from an Excel sheet, step by step
One row per variant, one column per value. Settle the names first, or the table will fight you.
A design table in SOLIDWORKS is an Excel sheet embedded in a part or assembly where each row is a configuration and each column is a parameter: a dimension, a feature's suppression state or a custom property. Insert one with Insert > Tables > Excel Design Table (called Design Table in older versions), choose Auto-create, and SOLIDWORKS builds the sheet from the dimensions you pick.
This guide explains when a design table is the right tool, how to prepare the part so the table stays readable, the column syntax that matters, and the problems that show up once a table has fifty rows and three people editing it.
Configurations, design tables or global variables?
- Global variables drive one part from a few named numbers. Use them first, in every part. See global variables and equations.
- Configurations keep several versions of a part in one file: lengths of a profile, a machined and an as-cast state, a simplified version for large assemblies. You can create them by hand in the ConfigurationManager tab.
- A design table is the efficient way to create and maintain many configurations that differ by values: a family of spacers, a range of brackets, screw lengths. One row per variant, edited in a sheet.
A family in one file is not always the right choice. If each variant has its own part number, revision history and drawing, and changes independently, separate files are easier to manage in PDM. Design tables work best when the variants change together and differ only in values.
Prepare the part first
A design table shows the names of the dimensions and features it drives. Fix the names before you create the table, because renaming later changes the column headers.
- Rename the driving dimensions. Select each one and change its name in the Dimension PropertyManager, from
D1@Sketch1tolength@Spacer sketch. - Rename features that will be suppressed in some configurations:
Through hole,Chamfer top. - Fully define the sketches so every variant rebuilds predictably. See design intent and a clean feature tree.
- Decide which values vary. Write the list down. Every extra column is one more thing someone can get wrong.
- Flex the part to the smallest and largest values in the family and check it rebuilds without warnings before you put those values in a table.
Create the design table step by step
- Choose Insert > Tables > Excel Design Table. Microsoft Excel must be installed on the PC, because the table is an embedded Excel worksheet.
- Under Source, choose Auto-create to start from the current model, Blank to start empty, or From file to link an existing Excel file.
- Under Edit Control, choose whether edits in the model may update the table or are blocked. Blocking model edits is safer for a library family: the table stays the single source of values.
- Press OK. With Auto-create, SOLIDWORKS asks which dimensions to add. Pick only the ones in your list.
- The sheet opens inside SOLIDWORKS, and the menus change to Excel's. Cell A1 names the model. Row 2 holds the parameter headers, and column A from row 3 holds the configuration names.
- Add a row per variant, then click outside the sheet in the graphics area. SOLIDWORKS creates the configurations and reports what it added.
To edit later, expand Tables in the FeatureManager design tree, right-click the design table and choose Edit Table or Edit Table in New Window. The new-window option opens a normal Excel window, which is easier for long tables.
Column headers that do the work
| Header | Controls | Example values |
|---|---|---|
length@Spacer sketch | A dimension, by its full name | 20, 25, 30 |
$STATE@Chamfer top | Suppression state of a feature | S (suppressed), U (unsuppressed) |
$PRP@Description | A custom property of the configuration | Spacer 8 x 20 |
$PARTNUMBER | The part number used in a BOM | SP-0820, or $C for the configuration name |
$DESCRIPTION | The configuration's description | Free text |
$COLOR | Colour of the configuration | A colour number |
SOLIDWORKS help lists the full set of parameters for your version, including those for assemblies (component configuration and suppression). The names after the @ must match the names in the model, which is another reason to settle names first.
Example: a spacer family
| Configuration | length@Spacer sketch | od@Spacer sketch | $STATE@Chamfer top | $PARTNUMBER |
|---|---|---|---|---|
| SP-0820 | 20 | 12 | U | $C |
| SP-0825 | 25 | 12 | U | $C |
| SP-0830 | 30 | 12 | S | $C |
Naming each configuration with its part number and setting $PARTNUMBER to $C keeps the BOM correct without a second list to maintain. The same choice exists for each configuration in its properties: Bill of Materials Options > Part number displayed when used in a bill of materials.
Using global variables with a design table
A design table can drive a dimension that an equation also uses, so global variables and tables combine well: the table sets a few input values per configuration and the equations work out the rest (a hole position from a length, a count from a width). Keep the equations in the part and the inputs in the table, and avoid having both drive the same dimension, which makes it unclear which one wins.
Worked example: a spacer family from scratch
- Model one spacer: a circle pair on the Front Plane centred on the origin, extruded to length, with a chamfer on the top edge. Rename the dimensions
od,idandlength, the sketchSpacer sketch, and the featuresSpacer bodyandChamfer top. - Add the custom property
Descriptionwith the valueSPACER, 8 ID x 12 OD x 20 L, or better, link the numbers to the dimensions so the text follows the geometry. - Insert the design table with Auto-create and pick
lengthandod. Add columns$STATE@Chamfer topand$PARTNUMBERby typing them into row 2. - Fill one row per size. Name each configuration with its part number.
- Close the table, then open each configuration in the ConfigurationManager and check it rebuilds and looks right. Check one configuration's mass against a hand calculation; a wrong unit in one row shows up immediately.
- Insert two different configurations into a test assembly and make a BOM. Each row should show its own part number and description.
Twenty minutes of setup gives a family that a purchasing colleague can extend by adding a row, without touching the model.
Problems that show up later, and how to avoid them
- Someone edits the model instead of the table. With model edits allowed, the change may flow back into the table for one configuration only. Block model edits for families, or agree that values change only in the table.
- Excel is missing or a different version. The embedded table cannot be edited without Excel. Check this on every workstation and in any automated job that opens the part.
- A feature that is suppressed in most rows breaks unnoticed. It only rebuilds when a configuration uses it. Before release, activate each configuration in the ConfigurationManager, press Ctrl+Q and look for errors.
- The table grows sideways. Thirty columns is a sign that two families are sharing one file. Split them.
- Configuration names change. Assemblies and drawings reference configurations by name. Renaming one in the table breaks those references. Settle names early.
- PDM and revisions. All configurations share one file revision. A change to one variant revises the whole family. If that is not acceptable, use separate files.
When to use separate parts instead
Use separate files when variants have different drawings that change independently, when they are owned by different teams, or when a supplier-specific variant needs its own approval. A good test: if you would ever need to release one variant without touching the others, it should be its own file. For reducing the number of near-identical parts, see how to avoid duplicate parts.
The first-request guide shows how a change in the Flair pane is proposed and accepted; read your first request.
Questions
Where is the design table command in SOLIDWORKS?
Insert > Tables > Excel Design Table (Design Table in older versions). Microsoft Excel must be installed.
How do I suppress a feature in a design table?
Add a column headed $STATE@ followed by the feature name, and enter S for suppressed or U for unsuppressed in each row.
How do I set the BOM part number from a design table?
Add a $PARTNUMBER column. $C uses the configuration name, $D the document name, or type the number.
Design table or separate parts?
Use a design table when variants change together and differ only in values. Use separate files when each variant has its own drawing, revision or approval.