• 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. How to have sub trees for sub trees

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 2441
  • 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

How to have sub trees for sub trees

Purbayan
Purbayan 10 months ago

I want to create sub tree of sub trees how can i do that?

I want to create another tree for the Sub parameter also.

; create a root tree
indexTree=hiCreateTree('index11)



hiTreeAppendItem(indexTree hiCreateTreeItem('dow11 list("Parameter 1")))

; create two sub-trees
dowTree11=hiCreateTree('dows11)
hiItemInsertTree(dow11 dowTree11)



nasTree11=hiCreateTree('nass11)

hiItemInsertTree(nas11 nasTree11)

hiTreeAppendItem(dowTree11 hiCreateTreeItem('ibm list("Sub Parameter 2" )))

ibm11=hiCreateTree('ibsm)
hiItemInsertTree(dowTree11 ibm11)
hiTreeAppendItem(ibm11 hiCreateTreeItem('cdn111 list("Sub Parameter 1" "tb1_par1" "tb2_par1")))
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett 10 months ago

    Based on your variable names, you are presumably starting from this code: Example of a SKILL form with sortable hierarchical Tree table. How to install a form containing tree items in a window since bindkey work with windows but not with forms

    I can't copy the entire code here, but If you find this line in the code:

    sunw=hiCreateTreeItem('sunw list("Sun Micro" 27.750 4 "Sell"))

    and then add these lines below it:

    ;;; Create a sub-tree below Sun Micro
    sunSubTree=hiCreateTree('sunsubtree)
    hiTreeAppendItem(sunSubTree hiCreateTreeItem('java list("Java" 123 4 "Invented")))
    hiItemInsertTree(sunw sunSubTree)

    it will show you how to do this.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 10 months ago

    Based on your variable names, you are presumably starting from this code: Example of a SKILL form with sortable hierarchical Tree table. How to install a form containing tree items in a window since bindkey work with windows but not with forms

    I can't copy the entire code here, but If you find this line in the code:

    sunw=hiCreateTreeItem('sunw list("Sun Micro" 27.750 4 "Sell"))

    and then add these lines below it:

    ;;; Create a sub-tree below Sun Micro
    sunSubTree=hiCreateTree('sunsubtree)
    hiTreeAppendItem(sunSubTree hiCreateTreeItem('java list("Java" 123 4 "Invented")))
    hiItemInsertTree(sunw sunSubTree)

    it will show you how to do this.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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