• 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. Custom IC SKILL
  3. FIND/REPLACE setting

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 1993
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FIND/REPLACE setting

chxnhxx
chxnhxx over 2 years ago

Dear sir,

when I use a function 'Find/Replace' with my own bindkey, default setting is 'inst - cellName'.

how can I change the setting value 'inst - cellName' to 'inst - instName' ? 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    This is rather lacking in detail - please do read Guidelines for the Custom IC SKILL Forum which gives suggestions as to what is an appropriate level of detail for your questions (hint, specifying whether it's layout or schematic would be a first step, and the version would be good to know too).

    However, it's Christmas, so I'm feeling generous. My assumption (from a bit of pattern matching) was that you are using the Layout Tools→Find/Replace in IC6.1.8/ICADVM20.1 (I used ISR29, the latest), and that you wanted to change the form to:

    at the top. If so, this would do it - set your bindkey to CCFcustomizedFind() having loaded the code in your .cdsinit file:

    procedure(CCFchangeFindCriteria()
      let((searchCriteriaField)
        ;--------------------------------------------------------------------
        ; Change to something else first to avoid keep adding more
        ; criteria if the search is already for inst
        ;--------------------------------------------------------------------
        leSearchForm->searchTypeField->value="path"
        leSearchForm->searchTypeField->value="inst"
        errsetstring(leSearchForm->addCriteria->_callback)
        ;--------------------------------------------------------------------
        ; The field in the search criteria is dynamically created
        ; so needs to find a matching field
        ;--------------------------------------------------------------------
        searchCriteriaField=car(
          pcreMatchList("^searchCriteria" 
          leSearchForm->criteriaScrollView->fieldList)
        )
        get(leSearchForm->criteriaScrollView searchCriteriaField)->value="inst name"
      )
    )
    
    procedure(CCFcustomizedFind()
      hiEnqueueCmd("CCFchangeFindCriteria()")
      leHiSearch()
    )
     

    It's a bit of a hack (since there's no clean way of initialising the fields), but it seems to work well enough in my environment.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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