Jump to content
Sign in to follow this  
Guest

hm_info executing command output-*creatamarkpanel.

Recommended Posts

Guest

Hi,

I wanted to know how I can get some kind of notation in tcl macro so that, it will tell now *createmarkpanel command is going on. This can be use to avoid crashing when user pressess many times on same tk window button.

Share this post


Link to post
Share on other sites
Guest

Hi rahulj,

I don't understand your question: you can display a message with the *createmarkpanel command (last argument "message"):

*createmarkpanel(entity type, mark id, message)
If you turned the user messages off by using

hm_blockmessages 1
you can although display messages with:

hm_usermessage "I really have something to tell"or hm_errormessage "Dear user - you really f*#?ed it up ..."

Share this post


Link to post
Share on other sites
Guest

Hi Rahulj,

Another option would be to disable the tk button as part of the routine executed when it's pressed, and you can reactivate it later in the routine if you want. You can modify the status of buttons as shown:

$page2.f4.b1 configure  -state disabledor $page2.f4.b1 configure  -state normal
This might encourage users to look elsewhere instead of still clicking on the button.

Share this post


Link to post
Share on other sites
Guest

Hi Dear,

Sorry for very late reply.

Actually what happens if user clicks button(from tk macro window). Hypermesh gives segmentation error and come out. So I wanted to know, how to overcome this. WE can upost the macro dialogue but still some time it is required to be apreared. How to script will know that panel is activated in hm window.

Thanking you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×