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.
I want to browse element criteria file (..criteria) through Hypermesh Api. is there any Api/command available in HM 2029.1 for browsing it.
Hello Sagar,
What do you mean by browsing the criteria file? It's a text file that can be queried/modified by using string commands from TCL:
When you change criteria from the GUI, you basically get three commands:
*setqualitycriteria (altair.com)*createstringarray (altair.com)*elementchecksettings (altair.com)
Which fundamentally is creating a text table (*createstringarray), calculating the quality checks based on solver profile (*elementchecksettings) and overwriting the criteria file (*setqualitycriteria).
Kind Regards,Paulo Libório.
Hello Sagar, What do you mean by browsing the criteria file? It's a text file that can be queried/modified by using string commands from TCL: When you change criteria from the GUI, you basically get three commands: *setqualitycriteria (altair.com)*createstringarray (altair.com)*elementchecksettings (altair.com) Which fundamentally is creating a text table (*createstringarray), calculating the quality checks based on solver profile (*elementchecksettings) and overwriting the criteria file (*setqualitycriteria). Kind Regards,Paulo Libório.
Thank you so much for reply Paulo.
For other aspect this solution is correct, but in my case if i want to go for rebuild mesh and when i go for edit criteria and edit parameter file option then it will browse default criteria and parameter file which is specified in Altair Hypermesh code which is specified at some location.Consider i have one criteria and parameter file which i have saved at my local location. so if i want to browse that criteria & Param file, currently the standard practice is to browse it manually from open file option.
You can see the attachment for details. So rather than opening/browsing the file manually i want to do it by automation. So for that any API is available for it.
Thank you so much for reply Paulo. For other aspect this solution is correct, but in my case if i want to go for rebuild mesh and when i go for edit criteria and edit parameter file option then it will browse default criteria and parameter file which is specified in Altair Hypermesh code which is specified at some location.Consider i have one criteria and parameter file which i have saved at my local location. so if i want to browse that criteria & Param file, currently the standard practice is to browse it manually from open file option. You can see the attachment for details. So rather than opening/browsing the file manually i want to do it by automation. So for that any API is available for it.
Oh! I see.
You should use *readqualitycriteria (altair.com)
Example:
Oh! I see. You should use *readqualitycriteria (altair.com) Example:
Thank you so much Paulo
This is command really works, Thank you once again
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…