Difference between revisions of "HOWTO:FindAndReplaceToolPanel"
Wirecadadmin (Talk | contribs) |
Wirecadadmin (Talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
== Controls == | == Controls == | ||
− | Find | + | ===Find=== |
+ | The text for which to search.<br> | ||
'''[X]''' Clear all.<br> | '''[X]''' Clear all.<br> | ||
− | '''[Find]''' Initiate the search. | + | '''[Find]''' Initiate the search. <br> |
− | Search Where | + | ===Search Where=== |
− | '''Active Drawing''' Searches only the active drawing | + | '''Active Drawing''' Searches only the active drawing.<br> |
− | '''All Project Drawings''' Searches all project drawings. If the drawing is closed it will be opened and searched in the background. | + | '''All Project Drawings''' Searches all project drawings. If the drawing is closed it will be opened and searched in the background.<br> |
− | '''Project Databases''' Searches the Project Equipment List and the Cables database for the search text. | + | '''Project Databases''' Searches the Project Equipment List and the Cables database for the search text.<br> |
+ | <br> | ||
+ | ===Search Options=== | ||
+ | '''Show File''' Display the file name in the results window. This is helpful in understanding the context of the found result.<br> | ||
+ | '''Show Item Type''' Display the item type in the results window. More contextual help.<br> | ||
+ | <br> | ||
+ | ===Replace With=== | ||
+ | Text box. Your "find" text can be replaced with this text. Used in conjunction with the '''[Replace Selected]''' below.<br> | ||
− | + | ===Results=== | |
− | + | Listbox. Displays the found text and the context in which the text is found. The selected items can be replaced. | |
− | + | ||
− | + | '''[Select All]''' Select all records in the Results listbox.<br> | |
+ | '''[Clear Selection]''' De-select all records in the Results listbox.<br> | ||
+ | '''[Replace Selected]''' Do the replacement. | ||
− | + | '''[Find]''' Initiate the search. Same as the '''[Find]''' button above.<br> | |
− | '''[Cancel]''' Cancel the current search. | + | '''[Cancel]''' Cancel the current search.<br> |
Line 45: | Line 54: | ||
! Step !! Description !! Image | ! Step !! Description !! Image | ||
|- | |- | ||
− | |1. || Enter HDSDI IN in the Find field. || |- | + | |1. || Enter HDSDI IN in the Find field. || |
− | |2. || Select where we will be searching. In this case we will only be looking in the | + | |- |
− | |3. || | + | |2. || Select where we will be searching. In this case we will only be looking in the '''Active Drawing''' and the '''Project Databases''' because we have assigned a cable number.|| |
+ | |- | ||
+ | |3. || Do the search by clicking the '''[Find]''' button || Wait for it..... | ||
|- | |- | ||
− | |4. || | + | |4. || The '''Results''' listbox shows all of the found instances || |
|- | |- | ||
− | |5. || | + | |5. || Double-click an item in the '''Results''' listbox to jump to the item. If the item is found in a drawing, you will be taken into that drawing and the entity zoomed into view. If the item is in a database, that grid will be opened and the item highlighted.{{note|A WireCAD port consists of two attributes. There is the display attribute that you actually see in the drawing, and there is the invisible connection point attribute. The connection point attribute is a pipe delimited string consisting of the port name, signal type and connector. If you are renaming a port you will need to rename two attributes - the connection point and the display attribute.}} || |
+ | [[File:Find_and_replace_3.png|400px|Find and Replace tool panel]] | ||
|- | |- | ||
− | |6. || | + | |6. || || |
|} | |} |
Latest revision as of 21:38, 4 March 2013
Command Line Shortcut: none User Permissions Level: ADD, EDIT, DELETE permissions for the drawings and/or databases where the search text is found. |
Contents
Before You Start
The Find and Replace tool panel is found, by default, in the same tool panel set as your Project Explorer on the left-hand side of the screen.|| ||
Controls
Find
The text for which to search.
[X] Clear all.
[Find] Initiate the search.
Search Where
Active Drawing Searches only the active drawing.
All Project Drawings Searches all project drawings. If the drawing is closed it will be opened and searched in the background.
Project Databases Searches the Project Equipment List and the Cables database for the search text.
Search Options
Show File Display the file name in the results window. This is helpful in understanding the context of the found result.
Show Item Type Display the item type in the results window. More contextual help.
Replace With
Text box. Your "find" text can be replaced with this text. Used in conjunction with the [Replace Selected] below.
Results
Listbox. Displays the found text and the context in which the text is found. The selected items can be replaced.
[Select All] Select all records in the Results listbox.
[Clear Selection] De-select all records in the Results listbox.
[Replace Selected] Do the replacement.
[Find] Initiate the search. Same as the [Find] button above.
[Cancel] Cancel the current search.
Tutorial: Renaming a Port using the Find and Replace Tool Panel
Assumptions:
Let's assume that we have a drawing with a functional block that has a port named HDSDI IN and further, that we have already assigned SysNames and Cable Numbers to the device and its attached cable. WireCAD ports consist of two http://wirecad.com/wiki/index.php?title=Drawing:Basic_CAD_Tools#Create_Attribute_Definition
Note: This is not the only way to rename a port. We are using this method to demonstrate the Find and Replace tool panel and to develop an understanding of the structure of a WireCAD port. |