How to browse criteria file through HM API
Answers
-
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.0 -
Paulo Libório said:
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.
0 -
Sagar Patil said:
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:
1 -
0