The library editor allows you to create and edit user libraries. You cannot edit default libraries from the library editor. To edit a default library, you can either create a copy of the library as a user library (the recommended approach), or you can edit the file directly using a text editor. See Default and User Libraries for details.
To open the library editor:
| • | On the File menu, click Libraries. You must open a project file before opening the library editor (the editor is not available from the Welcome page). |

Libraries
Shows the list of default libraries with the prefix "SAM/" and any user libraries in the project with the prefix "USER/". Click a library name to display the library's contents. Each library entry is a row in the table.
New User Library
Click to add a new user library to the project. Solar Advisor stores user library data in the project file rather than in external library files.
Remove User Library
Click to remove a user library. You cannot remove a default library indicated by the "SAM/" prefix.
Add Entries
Add rows of data to a user library. You must choose a user library indicated by the "USER/" prefix before adding entries. You cannot add entries to a default library with the "SAM/" prefix.
Export
Export the current library to a library file (.samlib). Export a library when you want to use it in a different project. You must import the library into the other project for it to be available in that project. You can export a library to the default library folder (/exelib/libraries in your Solar Advisor installation folder) to make the library available to all Solar Advisor projects on your computer.
Import
Create a new user library by importing entries from a library file (.samlib). When you import a library, Solar Advisor stores the library entries in the project file, which affects the file's size.
Help
Display the Libraries help topic.
Close
Close the library editor.
To create a new user library:
| 1. | Open the library editor. |
| 2. | Click New User Library. |
| 3. | Type a name for the library in the Import Library window. This is the name that will appear in library lists. |
When you create a new user library, Solar Advisor adds an empty library with the name you specified and the prefix "USER/" to the list of libraries. To assign values to the entry, you must first add a copy of an existing entry, and then modify its values. This helps to ensure that no library entries have blank values.
To add entries to a new or existing user library:
| 1. | Click the user library's name in the Libraries list. User libraries are indicated by the prefix "USER/". |
| 3. | In the Copy Existing Entry window, check one or more items that have similar characteristics to the entry you want to add. |
| 5. | To rename a library entry, in the library table, right-click the entry's name, and choose Rename from the shortcut menu. |
| 6. | To add values to a library entry, you can either |
change values manually by double-clicking each cell and typing a value, or
copy a row of values from a comma-separated text file or Excel worksheet file, and then right clicking the library entry's name and choosing Paste Values in the shortcut menu.
Note. The library editor does no error checking, so be sure to use valid values in your library entries.
To modify values in a default library:
| 1. | Create a new user library of the same type as the default library (see instructions above). |
| 2. | Add the entry that contains the values you want to modify from the default library and change the value (see instructions above). |
Note. You can also use a text editor to change values directly in a default library. You should only use this approach if you are very familiar with the parameters stored in the library, and are certain that you want to discard the original values stored in the library. We recommend only modifying copies of libraries. See Default and User Libraries for file location details.
To "convert" a user library to a default library:
| 1. | Click user library's name in the Libraries list. |
| 2. | Click Export and save the file in the libraries folder (/exelib/libraries in your Solar Advisor installation folder). |
| 3. | Solar Advisor will display the library with the "SAM/" prefix, and make it available to all Solar Advisor projects on your computer. |
|