• 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 Scripting - TCL
  3. Getting Hierarchical Page Occurrence Name

Stats

  • State Verified Answer
  • Replies 3
  • Subscribers 12
  • Views 1520
  • Members are here 0
More Content

Getting Hierarchical Page Occurrence Name

karthikeyank
karthikeyank over 1 year ago

Hi,

I want to print the Selected hierarchical Page Occurrence Name. can anyone please help me out.

Expected Output:

D02:CDPHY CONNECTION-0 ---- S1

D02:CDPHY CONNECTION-0 ---- S2

D02:CDPHY CONNECTION-0 ---- S3

D02:CDPHY CONNECTION-0 ---- S4

Code:

set selectedobjs [GetSelectedPMItems]
set objlength [llength $selectedobjs]
set lStatus [DboState]
set lNullObj NULL
for {set j 0} {$j < $objlength} {incr j} {
set lPage [lindex $selectedobjs $j]
set lPageNameCS [DboTclHelper_sMakeCString]
set lPageNameCS1 [DboTclHelper_sMakeCString]
$lPage GetName $lPageNameCS
set lPageName [DboTclHelper_sGetConstCharPtr $lPageNameCS]
puts $lPageName
       #Help me out here
}

  • Cancel
  • Sign in to reply
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