Jump to content
jcd

Remove Notes from Window using tcl commands

Recommended Posts

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.

 

 

Share this post


Link to post
Share on other sites
Guest

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). 

note.PNG

Share this post


Link to post
Share on other sites
5 hours ago, Jeff McWilliams said:

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.

 

8 hours ago, George P Johnson said:

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). 

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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} :

 

image.thumb.png.7048c6aacd52289ca4b4b46ba70de315.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...