A program to recognize and reward our most engaged community members
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