• 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 avoid *WARNING* HiQTreeTableSelectionOp ...message...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 13532
  • 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 avoid *WARNING* HiQTreeTableSelectionOp ...message when use hiTreeTableSelectItems() ?)

Charley Chen
Charley Chen over 11 years ago

Hi All , 

I have a function is to select all items in a tree , so is below

procedure( selectItems() 

 listofItems = hiGetTreeItems(treeName)

hiTreeTableSelectItems(form->treeField  listofItems)

);pro

It is  fine (Although it has a little bit slowly than i select 1st item and last item) , But when i re-select any item in tree item , 

It will show *WARNING* HiQTreeTableSelectionOp:: selectionChangedCB: Selection failed .Too many items are selected such

that the logging command exceeds the command buffer size limit. Select few items.

 

When i select from 1st to the end of the tree item , and then  re-select any item in tree item , It is OK

 

 I found the doc , but i tried  and can't understand it.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Selection of tree items is logged differently. In previous releases, selecting multiple consecutive tree items was logged with a range of zero-based line numbers. For example:
hiTreeTableSelectItems(form->treeField list('(1 2) ) t)
Now, the format is different. Instead of line numbers, the relative index in a tree is used. For example:
hiTreeTableSelectItems(myForm->myTreeTable '( (mytree 0 3)))

 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Thank you,

Charley 

 

  • Cancel
  • theopaone
    theopaone over 11 years ago

    If you are looking to select all the items in a tree, you can use hiTreeTableSelectAllItems.

    I suspect you have a syntax error in the selection item table.

    The syntax for hiTreeTableSelectItems could be a list of the symbols of the items or it could be a list of lists, ( (treeItem startIndex endIndex) (treeItem2 startIndex2 endIndex2) ... )

    I would probably go with the item symbols.

    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 11 years ago

    Hi Ted,

     Thank you for help. It was fixed.

    Charley 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • buddylee
    buddylee over 10 years ago
    Hello, I have a related question. I am getting the same warning message for exceeding the command buffer size, but it occurs when manually selecting too many items in the tree table. Is there a way to adjust the size of the command buffer? Thanks in advance
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Without seeing the code that produces the problem, it's hard to know. I've not actually found any reports of this warning - so not sure what it would be telling you (unless I can see the code).

    Can you post the code? If not, please contact customer support (and ask the AE dealing with it to contact me because I'm interested in understanding the problem).

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • buddylee
    buddylee over 10 years ago

    Hi Andrew,

    Thanks for your reply.  Unfortunately, I cannot share the code as-is.  But, I do plan to look into it more and if I involve customer support, I will ask them to contact you.  Also, if I figure out a specific cause I will reply here.

    Thanks! Brady

    • 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