InterOp:Connect/Options/Options for SolidWorks Reader
From DocR21
AssemblyPathPref
- Description
This option controls the translation of whether to honor the sub-assemblies and parts located at the sub-folder level, at the root folder level, in an equivalent relative sub-folder to the root assembly folder, or in the absolute path to the component recalled in the assembly file. This option accepts values 0, 1, or 2 with the default value set to 0.
| Value | Description |
|---|---|
| 0 | This value honors sub-assemblies and parts located in sub-folders. If any sub-assembly or part is not found in a sub-folder, then only the root directory will be checked. If the part is available in the root directory, then it will be translated. |
| 1 | All the sub-assemblies and parts will be read only from the root directory (that is, InterOp will not check for a sub-assembly or part in sub-folders). |
| 2 | InterOp first checks for sub-assemblies and parts at the root folder of the assembly. If any sub-assembly or part is not found in the root folder, then it checks for sub-assemblies and parts in an equivalent relative sub-folder to the root assembly folder. If both conditions fail, then InterOp checks in the absolute path to the component recalled in the assembly file. |
- Default
- 0
Solidworks.ConfigName
- Description
If you perform the translation without setting Solidworks.ConfigName, that is, with default value, then the SolidWorks Reader takes the active configuration present in the SolidWorks file and translates whatever data exists in the active configuration.
For example, suppose that the SolidWorks file contains two configurations: namely "config1" and "config2". The "config1" contains only one solid and "config2" contains two solids. The active configuration is "config2". Hence, SolidWorks Reader takes the active configuration "config2" for the default value of Solidworks.ConfigName and translates the two solids existing in "config2". If you want to translate "config1", then you need to set Solidworks.ConfigName to "config1"; only then will SolidWorks Reader take "config1" to translate the one solid present in "config1" for translation.
- Default
- none
