If the importing process fails for some reason, you get prompted to continue the process from the state the last failed process was when an error occurred. A prompt to continue the failed import process appear when the Import tool starts next time after the process has failed.
Files that are in the Read-Only state could be imported with the CUSTOMTOOLS Import feature. In that case, the import tool removes the Read-Only status from the files though, until the import process finishes. Once the import process is completed, the Read-Only status is being restored to the files that had it until the import process began.
When you import the revision data of the document that already has a revision table, the existing revision data is compared with the imported data, so the revision data that appears into the revision table is the most recently added.
The CUSTOMTOOLS Import Standalone feature could be used through the Windows command line. The command line usage of the Import Standalone feature support the following parameters:
All parameters described in the following table should be used in association to the CustomImportSA.exe file which is located in your CUSTOMTOOLS installation folder.
Parameter |
Description |
/d |
Use this parameter to open the model's referenced drawing in SOLIDWORKS. Without this parameter, the drawing(s) are also imported but they are not opened in SOLIDWORKS during the import process.
|
/f |
Determines the file(s) to be included in the import process. The files to be imported should be listed after the /f within the quotation marks ("). When importing several files, add all necessary files to the process with the /f <Filename> parameter. No separators are needed between the file parameters.
|
/s |
A parameter to start the import process. |
/v |
Determines the SOLIDWORKS version to be used to open and save files while importing the files' reference data into your CUSTOMTOOLS database. SOLIDWORKS versions supported by the CUSTOMTOOLS 2020 Import Standalone are SOLIDWORKS 2017 - 2020.
SOLIDWORKS version in the command line command is set by the Major version number. For example if the SOLIDWORKS version is set in the command like /v28, the SOLIDWORKS version 28 refers to the SOLIDWORKS 2020 major version with any service pack.
|
Example 1 - Import Single File
|
CustomImportSA.exe /f "C:\Workspace\SOLIDWORKS\SW2019\CT2019\ImportExample\000002.SLDPRT" /s /d /v27
|
|
The Example 1 command above adds a SOLIDWORKS part file called 000002.SLDPRT into the CUSTOMTOOLS import process and executes the import process using SOLIDWORKS 2019. A drawing related to the 000002.SLDPRT is included in the import process and the drawing is also opened in SOLIDWORKS 2019.
|
|
Example 2 - Import Many Files
|
CustomImportSA.exe /f "C:\Workspace\SOLIDWORKS\SW2018\CT2019\ImportExample\000002.SLDPRT" /f "C:\Workspace\SOLIDWORKS\SW2018\CT2019\ImportExample\000001.SLDPRT" /s /d /v26
|
|
The Example 2 command above adds a SOLIDWORKS part files called 000002.SLDPRT and 000001.SLDPRT into the CUSTOMTOOLS import process and executes the import process using SOLIDWORKS 2018. Drawing related to the parts imported are included in the import process and the drawing is also opened in SOLIDWORKS 2018.
|
The example command in the table above, is used to be executed directly from the CUSTOMTOOLS installation folder. So to use a command similar than an example, you need first to navigate into your CUSTOMTOOLS installation folder in the Windows Command Prompt and then type the command like an example above.
|
While using the Import Standalone feature, the drawings are searched by the filenames from the folder the models are located in. Drawings with any special names are not included in the import process with the Import Standalone while it is being executed through the command line. If your drawings have some special file names, please use the CUSTOMTOOLS Import feature included in the CUSTOMTOOLS SOLIDWORKS Add-In, or run the graphical user interface of the Import Standalone feature.
Refer to the following list to determine the correct version of SOLIDWORKS to be used with the CUSTOMTOOLS Import Standalone.
SOLIDWORKS Version |
Description |
Command Line Parameter |
<Use Default>
|
Select this to use the version of SOLIDWORKS that you have set as the default program to open the SOLIDWORKS files.
|
|
SOLIDWORKS 2018
|
Select this to use SOLIDWORKS 2018 version to open the SOLIDWORKS files.
|
/v26
|
SOLIDWORKS 2019
|
Select this to use SOLIDWORKS 2019 version to open the SOLIDWORKS files.
|
/v27
|
SOLIDWORKS 2020
|
Select this to use SOLIDWORKS 2020 version to open the SOLIDWORKS files.
|
/v28
|
NOTE: The SOLIDWORKS versions available in the SOLIDWORKS version to use box in the in the Import dialog box depends on what SOLIDWORKS versions are installed in the workstation.
|
To use the default version of SOLIDWORKS associated to the SOLIDWORKS files, do not add the SOLIDWORKS version parameter at all into the command line command used to run the
Standalone Import.