SolidWorks configurations are a very common way used to define multiple similar but slightly different parts (like screws with different sizes for example).
As you can notice on the screenshot below, the default configuration is checked with a green mark:
This is the one that will be imported if A3DRWParamsMultiEntriesData::m_bLoadDefault is set to true.
However, if you want to load another specific configuration instead, it’s also possible by specifying its name in A3DRWParamsMultiEntriesData::m_ppcEntries during the import.
This last option’s only able to accept a single configuration for SolidWorks files, so be sure to also set A3DRWParamsMultiEntriesData::m_uiEntriesSize to 1 and no more. |
However, if you need to load several configurations, all can be imported at once by just enabling the A3DRWParamsSolidworksData::m_bLoadAllConfigsData 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. |
As you can see in the screenshot below, some configurations may present greyed dashes:
That’s because they’re purged by SolidWorks in order to save some space, however such models have to be regenerated by SolidWorks kernel in order to be displayed. So since HOOPS doesn’t embed any modeler, it's currently unable to recompute those purged configurations.