Remove Notes from Window using tcl commands

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Is it possible to remove Notes from being displayed on a Hyperview window using a tcl command in the console ? I can hide a particular component or set using the GetComponentHandle and SetVisibility commands, however I haven't been able to find a GetNoteHandle or similar command to hide the model info displayed by a Note on the active window.

 

 

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2017

    Hi,

    Select the notes option, and in notes panel the user can hide the selected note(s) in the graphics area by deselecting the corresponding check box(s). 

    <?xml version="1.0" encoding="UTF-8"?>note.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2017

    poINote has the SetVisibility command.

     

    Getting a poINote handle is done through poIPost GetNoteHandle(). 

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2017

    poINote has the SetVisibility command.

     

    Getting a poINote handle is done through poIPost GetNoteHandle(). 

     

    Thank you! This is exactly what I was looking for. I initially tried looking for a note handle inside the Model but now I realize that the NoteHandle lies in the window's Client.

     

    Hi,

    Select the notes option, and in notes panel the user can hide the selected note(s) in the graphics area by deselecting the corresponding check box(s). 

    <?xml version="1.0" encoding="UTF-8"?>note.PNG

     

    Yes, I was able to do the same as you've shown above. But I wanted to replicate that using tcl code so as to avoid the multiple user clicks. Thanks.

  • seyilmaz
    seyilmaz Altair Community Member
    edited May 2019

    Hello everyone,

     

    Is there a way to change the numbering format for the frequencies? 

     

    Regards

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited May 2019

    Hi Seyilmaz,

     

    Where do you want to change the format of frequencies? please share a screenshot.

     

    Thanks.

  • seyilmaz
    seyilmaz Altair Community Member
    edited May 2019

    Hello Livil,

     

    I would like to change the format on the results GUI upper right corner:

     

    image.png.1b0e41379dcba53811aa3399362785b1.png

     

    I would like to have 11.77 instead of 1.176624E+01.

    Thank you. Regards

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited May 2019

    Hi Seyilmaz,

     

    Sorry for delayed response, You should replace the underlined text in the attached image with the below script: 

     {convert(mid(window.simulationstep,strrchr(window.simulationstep, chr(32))+1,strlen(window.simulationstep))),%.5f} :

     

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.7048c6aacd52289ca4b4b46ba70de315.png

  • seyilmaz
    seyilmaz Altair Community Member
    edited May 2019

    Thank you!