• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Design Entry HDL
  3. Changing attributes using console command or script?

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 23
  • Views 4574
  • Members are here 0
More Content

Changing attributes using console command or script?

Console501
Console501 over 1 year ago

Hi,

Can anybody please help me develop a script for changing the values of "attributes"  of a certain component.

say i want to make the $LOCATION or the Tolerance of a certain Capacitor upon user click or selection.

Any help, even if just console commands will be much appreciated.

Thanks,

  • Cancel
  • Sign in to reply
Parents
  • Gowtham P
    0 Gowtham P over 1 year ago

    Navigate to the page where the target component is located.

    Locate the component using the "FIND" command.

    Modify the target attribute using the "AUTO PROPERTY" command.

    For example: If the component C2 is on page 1 and you need to change its TOLERANCE value to 20%, you would select page 1 in the hierarchy viewer and enter the following commands in the command console:

     

    set nextgroup A

    Find *LOCATION=C2

    Include bodies

    AUTO PROPERTY A TOLERANCE=20%

    write

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Console501
    0 Console501 over 1 year ago in reply to Gowtham P

    Thanks Gowtham P, 

    appreciate your prompt response, we are almost there,

    sorry my question is not so clear,

    this is what i need,

    1. when i click a certain component, the  LOCATION will be visible

    2. when i click on a certain component, the tolerance will be visible

    and

    there should be another command to set these attributes  invisible.

    the key here is that the user need to type the command, then click on a respective component or select a few component by group then the attributes will change.

    Cheers,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Console501
    0 Console501 over 1 year ago in reply to Gowtham P

    Thanks Gowtham P, 

    appreciate your prompt response, we are almost there,

    sorry my question is not so clear,

    this is what i need,

    1. when i click a certain component, the  LOCATION will be visible

    2. when i click on a certain component, the tolerance will be visible

    and

    there should be another command to set these attributes  invisible.

    the key here is that the user need to type the command, then click on a respective component or select a few component by group then the attributes will change.

    Cheers,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Gowtham P
    0 Gowtham P over 1 year ago in reply to Console501

    Not sure if DEHDL allows interactive commands.

    But you can use the "display invisible" command to hide the property values.

    For example:

    set nextgroup A

    Find *LOCATION=C2

    Include bodies

    AUTO PROPERTY A TOLERANCE=20%

    display invisible A

    write

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information