How To: Find and Replace a Port Name

<< Click to Display Table of Contents >>

Navigation:  WireCAD PRO Manual > Included Plugins > Find and Replace >

How To: Find and Replace a Port Name

Previous pageReturn to chapter overviewNext page

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

 

1.Let's say we want to replace SDI IN on our device with SDI IN A. 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.

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

find_ex_2_zoom50

3.Notice that we have two attributes and a cable all associated with the port SDI IN. If we don't change all of these we will have data integrity issues later.

find_ex_3_zoom50

4.Click [Replace Selected].

5.Done.