Navigation:  Included Plugins >

Find and Replace

Previous pageReturn to chapter overviewNext page

Menu: None

Default command line shortcut: none

Applies To:

PRO

Related Settings:

None

 

 

 

 

Find and Replace


The Find and Replace tool window allows you to search all of the data collections and drawing. You may then replace found text with that of your choosing.

 

The Find and Replace tool show you the context in which the text was found. You can select from the results list which items to replace.

 

 

 

find_1

 

 

Controls


Find

The text to search for

[X]

Clear the Find text

Search Active Drawing

Only look in the active drawing

Search All Project Drawings

Search every project drawing

Show File

Show file name if any of the context in which the item is found

Show Item Type

Is it a text entity in a drawing or a field in a database

[Select All]

Selects all items in the results window

[Clear Selection]

De-selects all items in the results window

Replace With

The text to replace the found text with

[Replace Selected]

Initiate the replacement

[Cancel]

Cancels the current search

[Find]

Initiate the search

 

How To Find and Replace a Port Name

In this section we will discuss the finer points of finding and replacing text in WireCAD blocks.

Before You Start

When you see a WireCAD block in a drawing it is referred to as an Insert. WireCAD blocks employ Attributes to display the text values you see. These Attributes are editable. For every port you see in a WireCAD block there is at least one invisble attribute at the connection point. This attribute contains a pipe | delimited string formatted as:

PORTNAME|SIGNALTYPE|CONNECTOR

In addition to the connection point attribute there may be a Port Name display attribute.

warning

If you change the display attribute without changing the connection point attribute you WILL have grief later. So ALWAYS changed both the display attribute and the connection point attribute concurrently.

 

 

How To Find and Replace a Port Name

Let's say we want to replace SDI on our device with SDI-IN. Further that we have assigned cable numbers to the port in question. We will only look in the active drawing so click the appropriate radio button.


Enter SDI in the Find field and click [Find]. Wait for it....


Notice that we have two attributes and