Difference between revisions of "HOWTO:FindAndReplaceToolPanel"

From WireCAD Online Help
Jump to: navigation, search
 
(23 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
==Before You Start==
 
==Before You Start==
{| class="wikitable" style="color:black; background-color:#ffffcc;" cellpadding="10" cellspacing="0"; border="1"; width="100%"
 
|-
 
! Step !! Description !! Image
 
|-
 
 
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.|| ||
 
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.|| ||
[[File:Find_and_replace_1.png|400px|left|Find and Replace tool panel]]
+
[[File:Find_and_replace_1.png|400px|right|thumb|Find and Replace tool panel]]
|}
+
  
== Tutorial: Renaming a Port using the Find and Replace Tool Panel ==
 
  
 +
== Controls ==
 +
===Find===
 +
The text for which to search.<br>
 +
'''[X]''' Clear all.<br>
 +
'''[Find]''' Initiate the search. <br>
 +
===Search Where===
 +
'''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.<br>
 +
'''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.<br>
 +
 +
 +
 +
 +
== Tutorial: Renaming a Port using the Find and Replace Tool Panel ==
 +
Assumptions:<br>
 +
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.}}
 
{| class="wikitable" style="color:black; background-color:#ffffcc;" cellpadding="10" cellspacing="0"; border="1"; width="100%"
 
{| class="wikitable" style="color:black; background-color:#ffffcc;" cellpadding="10" cellspacing="0"; border="1"; width="100%"
 
|-
 
|-
 
! Step !! Description !! Image
 
! Step !! Description !! Image
 
|-
 
|-
|1. || http://www.wirecad.com/help60/ || This is also available in the WireCAD program by ''Clicking'' '''Help>Contents''' or pressing the F1 key while in WireCAD.
+
|1. || Enter HDSDI IN in the Find field. ||  
 
|-
 
|-
|2.|| http://www.wirecad.com/forum/ || This forum is monitored daily and is accessible to all WireCAD users however to post, you must create a username and password.
+
|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. || http://www.wirecad.com/60/tutorials.htm || These video tutorials are a great way to see some of the commonly used basic and advanced features of WireCAD in action.
+
|3. || Do the search by clicking the '''[Find]''' button || Wait for it.....
 
|-
 
|-
|4. || https://www.wirecad.com/mantis/login_page.php || Find a bug? Here is where you can check to see if it is a known issue. If it is not, PLEASE post it so we can work on resolving it. {{note| You will need to create a username and password to access and use the bug tracker.}}
+
|4. || The '''Results''' listbox shows all of the found instances ||
 
|-
 
|-
|5. || http://www.wirecad.com/wiki || The WireCAD Wiki pages are updated with new pages daily. This will in the near future be the most comprehensive resource for all things WireCAD.  
+
|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. || From the WireCAD home page (http://www.wirecad.com) hover your mouse above the ''Support'' tab and ''Click'' Chat With Support. || We currently offer live tech support from 1am to 5pm MST.
+
|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.
Product Level: PRO, ENT, V7 only
Procedures for using the Find and Replace tool panel.




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.|| ||

Find and Replace tool panel


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


Bulbgraph.png 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.

Step Description Image
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 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. The Results listbox shows all of the found instances
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.----
Bulbgraph.png 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.

||

Find and Replace tool panel

6.