Customizing the Dictionary of User Types


This task explains how to customize the list of types that are displayed when you create any of these elements:

A basic dictionary of these element types is provided with the product. You can add entries to or delete entries from the basic dictionary, or you can replace it entirely. You can also customize the icons that are associated with the element types.

To customize the dictionary, you need to run the following scripts:

PSLNomenAccessFeat.CATScript reads the existing dictionary and writes it to a preformatted Microsoft* Excel file.

PSLNomenBuildFeat.CATScript takes a properly fomatted Excel file and generates a new dictionary.

ainfo.gif (980 bytes) To accomplish this procedure, you must have installed Microsoft Excel 97 or later version. You should be familiar with the basic editing features of Excel, as well as with the file navigation and file editing capabilities of your system.
1. Copy the following files from \intel_a\code\command to a drive or directory for which you have read and write permissions:
2. Start CATIA.
3. From the menu bar, select Tools -> Macro -> Macros.
4. Select External File for the Macro In: field.
5. Click the Select button, and use the Windows dialog box to navigate to the appropriate file.
6. Select the file PSLNomenAccessFeat.CATScript and select OK.
7. Edit PSLNomenAccessFeat.CATScript as follows:

Define the path strEXCELTemplateFileName to point to the directory to which you copied the files in Step 1.

8. Save and close the file.
9. Select Run.

Microsoft Excel is launched, and a file is created.

10. Edit the Excel file to add or delete entries, as appropriate.
11. Save the Excel file with a unique name.
12. From the CATIA menu bar, select Tools -> Macro -> Macros again.
13. Select the Select button, and select the file PSLNomenBuildFeat.CATScript.
14. Edit PSLNomenBuildFeat.CATScript as follows:
ainfo.gif (980 bytes) If you do not have write permissions for this output path directory, you can define a temporary location. Contact your system administrator to move or copy the file to the correct location after it has been created.
15. Save and close the file.
16. Select Run.

The output file is created in the directory you specified. If you defined a temporary location for the file, it must be moved or copied to \intel_a\resources\graphicCATArrNomenclature.feat before the modifications can take effect.

ainfo.gif (980 bytes) The modifications will take effect when you restart CATIA.

Searching User-Created Dictionary Entries