# How-to : Load SolidWorks Configurations

**URL:** <https://forum.techsoft3d.com/t/how-to-load-solidworks-configurations/1450>\
**Category:** HOOPS Exchange\
**Tags:** learn, knowledge-base, how-to, import, solidworks\
**Created:** [March 20, 2022, 4:00am UTC](https://forum.techsoft3d.com/t/how-to-load-solidworks-configurations/1450 "2022-03-20T04:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.peragine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/gabriel.peragine/32/1535_2.png) [@gabriel.peragine](https://forum.techsoft3d.com/u/gabriel.peragine)\
**Post date:** [March 20, 2022, 4:00am UTC](https://forum.techsoft3d.com/t/how-to-load-solidworks-configurations/1450/1 "2022-03-20T04:00:00Z")

</div>

### What are SolidWorks configurations ?

SolidWorks configurations are a very common way used to define multiple similar but slightly different parts (like screws with different sizes for example).

### How to load a specific configuration ?

As you can notice on the screenshot below, the default configuration is checked with a green mark:

 ![DefaultConfig](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/1X/50521cbebbffd9355b508b71522b08a80a3bd82a.png)

This is the one that will be imported if [A3DRWParamsMultiEntriesData](https://docs.techsoft3d.com/exchange/latest/build/struct_a3_d_r_w_params_multi_entries_data.html)::[m\_bLoadDefault](https://docs.techsoft3d.com/exchange/latest/api/structA3DRWParamsMultiEntriesData.html?h#_CPPv4N27A3DRWParamsMultiEntriesData14m_bLoadDefaultE)is set to true.

However, if you want to load another specific configuration instead, it’s also possible by specifying its name in [A3DRWParamsMultiEntriesData](https://docs.techsoft3d.com/exchange/latest/build/struct_a3_d_r_w_params_multi_entries_data.html)::[m\_ppcEntries](https://docs.techsoft3d.com/exchange/latest/build/struct_a3_d_r_w_params_multi_entries_data.html#a3bb99a84a6242a8dff42048744fa9dc2)during the import.

This last option’s only able to accept a single configuration for SolidWorks files, so be sure to also set [A3DRWParamsMultiEntriesData](https://docs.techsoft3d.com/exchange/latest/api/structA3DRWParamsMultiEntriesData.html)::[m\_uiEntriesSize](https://docs.techsoft3d.com/exchange/latest/api/structA3DRWParamsMultiEntriesData.html#_CPPv4N27A3DRWParamsMultiEntriesData15m_uiEntriesSizeE)to 1 and no more.

Also in case of Solidworks nested configurations, please notice that only the name of the desired configuration should be set since / cannot be part of configuration names.  
For example, use [m\_ppcEntries](https://docs.techsoft3d.com/exchange/latest/api/structA3DRWParamsMultiEntriesData.html#_CPPv4N27A3DRWParamsMultiEntriesData12m_ppcEntriesE) = “foo2“ to select the second configuration in “foo1/foo2/foo3“

### How to load all the available configurations ?

However, if you need to load several configurations, all can be imported at once by just enabling the [A3DRWParamsSolidworksData](https://docs.techsoft3d.com/exchange/latest/api/structA3DRWParamsSolidworksData.html)::[m\_bLoadAllConfigsData](https://docs.techsoft3d.com/exchange/latest/api/structA3DRWParamsSolidEdgeData.html#_CPPv4N24A3DRWParamsSolidEdgeData21m_bLoadAllConfigsDataE)option.

If some parts of an assembly are missing while reading all configurations, HOOPS will try to “repair” them with the tessellation available in the assembly head.  
If no tessellation for the corresponding part is available in the .SLDASM file, then it will use the one from the default configuration instead.
