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.
Is there a method in Hypermesh, so that tcl scripts can interface with a database (mysql)?
Many thanks in advance,
Hello,
Can you please tell me what is your usecase and elaborate more about it.
Thank you
Hi,
We would purely like to keep a track of when a user uses a certain tcl script.
So the thought is to keep track of script stats in a small db.
Many thanks
TCL has binding interface for MySQL, for sure!
But with Hyperworks's Tcl, I'm not sure. Any way, if it does not work, you need install some add-on module for MySQL.
Hi, We would purely like to keep a track of when a user uses a certain tcl script. So the thought is to keep track of script stats in a small db. Many thanks
try using trace command, example
trace add execution source enter p_RecordScriptRunning proc ::p_RecordScriptRunning args { set fpt [open Database.db a] puts $fpt $args close $fpt }
If you want to keep some simple things, just use plain text log file. You not need MySQL for that.
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…