Save the Notepad file. End the file name with “.CATScript” Importing the tool catalog into CATIA. Open CATIA V5 Open -> Macro -> Macros…” “Tools Click the button “Select” Locate your script file If there are multiple script files in the containing folder, all of them will be available in the macros” window. Be sure to select the appropriate script before running “Available it. Click the button “Run” The Macro dialogue box will disappeared and nothing else will appear to have happened. Open the destination folder (defined in the script file) You may have to refresh the window If you see your .catalog file, congratulations. You have successfully created a CATIA tool library. If this happened, move to step V. Troubleshooting If you do not have a .catalog, file there is either a mistake in your .csv file or your script file If you do not see a .report file, your error is in your script file. To fix this, review step II. If you see a .report file, your error is within your .csv file Open the .report file in “Notepad” Scroll down to the bottom of this file. should a very brief deception of where to look for your problem Open your original Excel file (the .xlsx file) Locate the error and modify the offending line Resave the file as a .csv You may get an error saying that the file is being used by another program. If this is the case, close CATIA. This should fix the problem Once the modifications have been made, repeat step III Place the new tool catalogue in the appropriate directory Open CAITA if it is not already running Go to -> Options…” “Tools
Save the Notepad file. End the file name with “.CATScript” Importing the tool catalog into CATIA. Open CATIA V5 Open “Tools -> Macro -> Macros…” Click the “Select” button Locate your script file If there are multiple script files in the containing folder, all of them will be available in the “Available macros” window. Be sure to select the appropriate script before running it. Click the “Run” button The Macro dialogue box will disappeared and nothing else will appear to have happened. Open the destination folder (defined in the script file) You may have to refresh the window If you see your .catalog file, congratulations. You have successfully created a CATIA tool library. If this happened, move to step V. Troubleshooting If you do not have a .catalog, file there is either a mistake in your .csv file or your script file If you do not see a .report file, your error is in your script file. To fix this, review step II. If you see a .report file, your error is within your .csv file Open the .report file in “Notepad” Scroll down to the bottom of this file. should a very brief deception of where to look for your problem Open your original Excel file (the .xlsx file) Locate the error and modify the offending line Resave the file as a .csv You may get an error saying that the file is being used by another program. If this is the case, close CATIA. This should fix the problem Once the modifications have been made, repeat step III Place the new tool catalogue in the appropriate directory Open CAITA if it is not already running Go to “Tools -> Options…”
Tool%20Catalog%20Definition%20Tutorial.docx