The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
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.
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)
hm_blockmessages 1
hm_usermessage 'I really have something to tell'or hm_errormessage 'Dear user - you really f*#?ed it up ...'
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
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.
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…