• 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. PCB Design
  3. Capture CIS TcL question: starting with capGenerateBOM.tcl...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 164
  • Views 12684
  • Members are here 0
More Content
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

Capture CIS TcL question: starting with capGenerateBOM.tcl, how do I access the page name for this instance?

RFinley
RFinley over 5 years ago

This example is a good starting point if you want to traverse all occurances of each instance, important for exporting BOMs.

C:\Cadence\SPB_17.2\tools\capture\tclscripts\capCustomSamples

So, this example organizes parts by instances and occurrences having to do with CIS.  But, can I see the page name from this?

I've changed the code to solve a problem (catching value property updates before Part Manager resets them to match CIS).  Have to export these properties to a CSV file in TcL.

But, I need to include the Page Name or Number with these parts through the whole DSN project.  Finding these crippled part on a huge project is my job and I have to do a lot of them.

Apparently, this is not similar to GetRefDes or GetPartValue (CISBase)

# pPartID function parameter. Used to get lCISInstOcc
# pPartID is iterated outside this routine
set lUINTPartId [CISTclHelper_sGetUINTFromInt $pPartId]
set lCISInstOcc [$pCISDesign GetPartOccForID $lUINTPartId]

set lCISPartInst [$lCISInstOcc GetOwningCISPartInst]
set lCaptureObjIdUINT [CISTclHelper_sGetUINTFromInt [$lCISInstOcc GetCaptureObjectId]]
#$lCISPartInst GetOccStatus $lCaptureObjIdUINT $lPartStatus $lKey

set lRefDes [$lCISInstOcc GetPartRefDes]
set lRefDes [$lRefDes GetRefDes]
set lRefDes [DboTclHelper_sMakeCString $lRefDes]
set lRefDesStr [DboTclHelper_sGetConstCharPtr $lRefDes]

set lPartValueStr [DboTclHelper_sMakeCString]
set lPartValue [$lCISInstOcc GetPartValue]
set lPartValueStr [DboTclHelper_sGetConstCharPtr $lPartValue ]

  • 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