• 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. Allegro X Capture CIS
  3. How can I use a tcl script to update the modified information...

Stats

  • State Verified Answer
  • Replies 6
  • Subscribers 50
  • Views 4731
  • Members are here 0
More Content

How can I use a tcl script to update the modified information from library to Design Cache which is in .DSN project?

Morgan
Morgan over 1 year ago

Hi Community,

If I have modified the part name and footprint in the library, for example, the part name has been changed from MAX3232EIDR to MAX3232EIPWRG4, and the footprint has been changed from SOIC16 to TSSOP16, how can I use a tcl script to update them from library to Design Cache which is in .DSN project? (with Cadence Capture CIS)

#

#

The following tcl script is Get Part Value from schematic and Get  SourcePackage  Name from Design Cache.

#

#

#Get Part Value from schematic

set lPartValueNameStr [DboTclHelper_sMakeCString]

$pPlacedInst GetPartValue $lPartValueNameStr

set lPartValueName [DboTclHelper_sGetConstCharPtr $lPartValueNameStr]

puts "lPartValueName : $lPartValueName"

#

#

#Get  SourcePackage  Name from Design Cache

set lCachedPartValueNameStr [DboTclHelper_sMakeCString]

$pPlacedInst GetSourcePackageName $lCachedPartValueNameStr

set lCachedPartValueName [DboTclHelper_sGetConstCharPtr $lCachedPartValueNameStr]

puts "lCachedPartValueName : $lCachedPartValueName"

#

#

Regards,

Morgan Brown

  • Sign in to reply
  • Cancel

Top Replies

  • CadAP
    CadAP over 1 year ago +1 verified
    Morgan Below proc will help to get the cached lib property. You can filter out the part from updated library based on attribute match from the part present in cached lib and then use below API to replace…
  • Morgan
    Morgan over 1 year ago in reply to CadAP +1
    Hi CadAP, Thanks for the code, but I'm not very familiar with the syntax of tcl database command, can you tell me how to use ReplaceCache and showCacheEntries?help me please! Also, can you provide…
  • CadAP
    CadAP over 1 year ago in reply to Morgan +1 verified
    HI Morgan, Procedure (prco) share in the above is used to get all the properties of cached part. You can take on which common property you need to check in the library which you used to replace cache…
  • Morgan
    0 Morgan over 1 year ago in reply to CadAP

    Thank you CadAP, it's useful for me.

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

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

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