- Home
- Glass and Refractive Index
- How to Create a New Glass Catalog
How to Create a New Glass Catalog
- By Mark Nicholson
- Published 6 May 2008
- Glass and Refractive Index
- Unrated
Adding Your Catalog
All glass catalogs are maintained in the Glass Path folder, which is defined under File...Preferences...Directories. By default, English-language versions of Windows will use
C:\Program Files\ZEMAX\GLASSCAT
and any other folder can be specified if desired, of course. Catalog files are text files with the extension .agf (ASCII glass file). Note that for every .agf there may be a .bgf (binary glass file) file also. The .bfg files are created by ZEMAX when the .agf is used, and these files should not be edited or used by the user in any way. These files can be ignored: only the .agf file is important.
To create a new glass catalog -we will call it MyCatalog.agf- there are two methods:
1. Just use Windows Explorer to navigate to the Glass Path folder, then right-mouse click in the folder and choose New...Text Document. Then rename this .txt file to MyCatalog.agf. This will produce an empty catalog
2. Within ZEMAX, click on Tools...Catalogs...Glass Catalogs, select a supplied catalog and then press the 'Save Catalog As' button to save the catalog with a new name. This will save the catalog and all glasses inside it, which can then be deleted, edited or left alone.
In the following pages, I have created MyCatalog.agf using method 1 above.
C:\Program Files\ZEMAX\GLASSCAT
and any other folder can be specified if desired, of course. Catalog files are text files with the extension .agf (ASCII glass file). Note that for every .agf there may be a .bgf (binary glass file) file also. The .bfg files are created by ZEMAX when the .agf is used, and these files should not be edited or used by the user in any way. These files can be ignored: only the .agf file is important.
To create a new glass catalog -we will call it MyCatalog.agf- there are two methods:
1. Just use Windows Explorer to navigate to the Glass Path folder, then right-mouse click in the folder and choose New...Text Document. Then rename this .txt file to MyCatalog.agf. This will produce an empty catalog
2. Within ZEMAX, click on Tools...Catalogs...Glass Catalogs, select a supplied catalog and then press the 'Save Catalog As' button to save the catalog with a new name. This will save the catalog and all glasses inside it, which can then be deleted, edited or left alone.
In the following pages, I have created MyCatalog.agf using method 1 above.