III. Aspectes del joc
9. El traure i la ferida
A library in Relex is a database or table that contains standard parts and their associated part
parameters. When entering parts into the Parts Table, Relex automatically searches all active libraries by part number, and optionally by alternate part number. If the particular part that is being searched is found, all of its associated parameters are read from the library and pulled into the Parts Table. Relex library searches are extremely fast; thousands of parts are searched in a fraction of a second.
Figure 7 - . Sample Parts Library
Retrieving Parts from a Library
There are three ways to retrieve parts from an active library:
Manually entering parts into the Parts Table.
Selecting a part from a list based on library search parameters.
Importing parts into Relex using the Import function.
Regardless of which technique you prefer, the information retrieved is the same. As an overview, each of these techniques is outlined below:
Manually Entering Parts into the Parts Table
Enter the part number into the Part Number field on the Parts Table and press <TAB>. Upon pressing
<TAB>, Relex searches all active libraries for a matching part number. If a match is found, all available data is retrieved. If no match is found, your cursor advances to the next field on the Parts Table.
Selecting a Part from a List Based on Library Search Parameters
In the Part Number field, you may access Browse Library from the right mouse menu to browse the contents of the active libraries. For more information on library searching refer to the section titled
"Library Searching".
Importing Parts into Relex Using the Import Feature
When importing parts lists into Relex using the CAD ImportWizardtm, Relex automatically searches the active libraries for all part numbers that are imported. If matches are found, the information is
automatically retrieved for each of the parts. If no matches are found, the parts are added to the specified assembly as a category of Other and subcategory of User-defined, unless the category and subcategory information was specified during the import process.
Library Searching
When entering part numbers into the Parts Table, Relex provides you with several options regarding searching the active libraries for matching part numbers. You can search the libraries on an exact part number, or you can browse through all or some of the parts in any or all of the libraries. The general categories of searches are as follows:
Search all libraries for a partial part number.
Browse libraries for a part that matches certain parameters.
Each of these different categories of searches is handled a little differently. Review the following descriptions for more information regarding each technique:
Searching All Libraries for a Specific Part Number
On the Parts Table, you have the option of entering a part number into the Part Number field. After entering the part number, press <TAB> to search the active libraries for a matching part number. This search reviews the part numbers in each of the active libraries for an exact match. If a part number match is found, the part information is retrieved. If a part number match is not found, your cursor advances to the next field in the Parts Table and no information is retrieved.
Re-Searching All Libraries for a Different Specific Part Number
If you have changed a previously located part number in the Part Number field, you may want to perform a re-search in order to search the libraries for this new part number. If the new part number is located after performing a re-search, all data that was previously retrieved or entered is replaced with the new part number data. To perform a re-search, enter the new number into the Part Number field on the Parts Table and select Re-Search Libraries from the right mouse menu or select Assembly>Re-Search Libraries from the main menu. This action re-searches the active libraries on the part number that is now entered in the Part Number field. If a match is found, the corresponding part information is retrieved.
Searching All Libraries for a Partial Part Number
If you do not know the complete part number, but have an portion of it, you can enter that portion and select Browse Libraries from the right mouse menu or Assembly>Browse Libraries from the main menu to search for the part based on specified parameters. Relex then performs a search on the active libraries for all parts that contain the specific characters specified. When the list of matching part numbers is retrieved, select the desired part number with your mouse and press <Insert> to insert the part number into the Parts Table, or double-click your mouse to select and insert the part number.
Browse Libraries for a Part That Matches Certain Parameters
Figure 7 - . Library Browse Feature
For the instances when you wish to browse the active libraries for parts that match certain parameters, you can use the Browse Libraries feature provided by Relex. The Browse Libraries feature allows you to filter a listing of all part numbers based on certain criteria. To access the Browse Library feature, place your cursor in the blank Part Number field of the Parts Table, and select Browse Libraries from the right mouse menu or select Assembly>Browse Libraries from the main menu. The Library Browse window appears with the following filter options:
Option Description
View – All Selects to view the parts in all active Libraries. This would include all Relex Libraries and all active user Libraries and Correlation files.
View – Relex Libraries Selects to view only the parts in the Relex Libraries. The parts from the user libraries and Correlation files are not included.
View – User Library 1 Selects to view only the parts in the User Library 1 (defined under Tools>Options). The Relex Libraries, Correlation files and other user libraries are not included.
View – User Library 2 Selects to view only the parts in the User Library 2 (defined under Tools>Options). The Relex Libraries, Correlation files and other user libraries are not included.
Option Description
View – Correlation File Selects to view only the parts in the active Correlation (defined under Tools>Options). The Relex Libraries and other user Libraries are not included.
Filter Definition – Part
Number Filters the information from the selected libraries and Correlation file based on the part number designated in the field. You may enter a partial part number using a variety of wild cards and character placeholders as follows:
Asterisk (*) – serves as a wild card. For instance, to search for all parts beginning with a 74, enter 74* into the Part Number field. This lists all parts starting with a 74 or ending with any other
combination of characters.
Question mark (?) – serves as a placeholder. For instance, to search for all parts beginning with the first two digits of RC, any second two digits, and the remaining characters of GF153, enter RC??
GF153 into the Part Number field.
Number sign (#) – serves as a numerical placeholder. For instance, to search for all parts beginning with the first two digits of RC, any numbers as the second two digits, and the remaining characters of GF153, enter RC##GF153 into the Part Number field.
Filter Definition –
Description Filters the information from the selected libraries and Correlation file based on the description designated in the field. You can enter a partial description using a variety of wild cards and character placeholders as described under Filter Definition–Part Number.
Filter Definition–Category Filters the information from the selected libraries and Correlation file based on the category designated in the field. Select the category from the choice list. When the filter is performed, only the parts having the same category are listed. It is common for this filter definition to be used in combination with the Subcategory Filter Definition.
Filter Definition–
Subcategory Filters the information from the selected libraries and Correlation file based on the category and subcategory designated in the fields.
Select the category from the choice list, and then a corresponding subcategory from the choice list in the Subcategory field. When the filter is performed, only the parts having the same category and subcategory are listed.
Filter Definition–Alternate
P/N Filters the information from the selected libraries and Correlation file based on the alternate part number designated in the field. You can enter a partial alternate part number using a variety of wild cards and character placeholders as described under Filter Definition–Part Number.
<Filter> The <Filter> button is used to perform the search on the libraries based on the selected filter parameters. Press <Filter> after all desired information has been entered.
<Insert> The <Insert> button is used to insert part information from the list displayed at the bottom of the Library Browse window. Once a filter
Option Description
press <Insert> or double-click on the part to insert the information to the Parts Table.
<Update> The <Update> button is used to update the current record in the Parts Table with the selected part on the Library Browse window.
<Close> The <Close> button is used to close the Library Browse window and cancel the current action.
It is important to remember that a filter can be set on any one of the above individual options, or it may be set on any combination of the above options. For instance, you could search on a partial part number and a particular category and subcategory. Set all of the criteria to your specifications and press <Filter>.
Note: Non-electronic parts are accessible in the Parts Table by selecting a category of Other and a subcategory of NPRD95 Part.
Order for Searching Libraries
Relex performs a sequence of steps when searching libraries to find a matching part. Relex first searches for the exact part number. If not found, Relex removes any prefix or suffix on the part and repeats the search. Relex does not require you to enter the exact part number. Relex continues its search until the part is found or all of the enabled libraries have been searched.
During a search for a part number, Relex follows a very specific order for searching the Correlation file and all libraries. This order is outlined as follows:
Order
Correlation File Part Number Exact search
2 User Libraries 1,2
and 3 Part Number Exact search
3 User Libraries Part Number Part number without prefix (all
alpha characters up to the first digit are stripped)
4 User Libraries Part Number Part number without suffix (all
trailing alpha characters are stripped)
5 User Libraries Part Number Part number without prefix and
suffix
6 User Libraries Part Number Part number without dash suffix
(all alpha characters following a dash in the suffix)
7 User Libraries Part Number Part number without dash suffix
and without dash prefix