Adding or modifying properties using more than one matching property as update criteria.

PROBLEM:
I want to add new properties or modify existing properties in my design using more than one matching property as the criteria for updating the properties to parts or nets.

SOLUTION:
You can do this using the Update Properties command on the Tools menu. You need to create a text include, or Update Properties, file (*.UPD) that uses multiple match strings.

The first line of an Update Properties file defines the fields to be searched and the name of the property (or properties) you are adding.

Below is an example of an Update Properties file that updates part properties. The first line in this example defines the search criteria (or match string properties) as the Source Package and Value properties. These properties will be used to determine which parts will have a Foo property added. The second line searches for parts with a Source Package property value of RESISTOR and a Value property value of 5K and adds a new property called Foo with a value of 0.035. The next line of the include file looks for the parts with a Source Package of RESISTOR and a Value property of 10K and adds a new property called Foo with a value of 0.025. Keep in mind these three requirements when creating your Update Properties file:
  1. The formatting of the file must include the exact property names that you want to match placed inside curly brackets, for example, {Value}.
  2. Make the file tab delimited. Have a tab between the fields on the first line defining the search and use a tab between the values you are looking for in the following lines.
  3. Each string in the file must begin and end with a quotation mark ("). The match string is enclosed within a set of quotation marks on each line of the file, not just the header line. The match field contents are literal searches for the matching string.
You can also search for a match string property value that is a null string. For instance, you could search for a part with a Source Package value of REISISTOR and a Value property value of "" to give that part the property Foo with a property value of .05 by adding this line to the .UPD file above. Notice the required tab after RESISTOR and between the first and second character string on the line. Additionally, you can use multiple match strings when creating an include file for the bill of materials report.

Document number: CAP02763
Applies to: Capture (All)
Created on: Friday, July 07, 2000
Last modified: Tuesday, July 18, 2000

Copyright © 2005, Cadence Design Systems, Inc.
All rights reserved.