2D-->qualityindex
Hi,
I changed quality index values(values in criteria Editor ) in 2D->qualityindex by following command.
I created a list of all values named qual_list. I passed that list to command.
eval *createdoublearray 89 $qual_list
*reset_qa_calculator 1 89
Now it is working fine and coloring is done according to the values given by me.
Now how to getback to original model ?
by clicking return i wil get back to original model. what is the command for go back to my original model.
I tried the following commands.
*createmark elems 1 'displayed'
*elementqualitysetup 1
*elementqualityshutdown 0
like that.. they r giving segmentation error and closing Hypermesh.
Any command for that?
Help me.
Find more posts tagged with
Actually , I created a GUI with two buttons check and cancel.
if i clicks on check the above process was called and i m getting the panel and color coding also done according to data in criteria file.
Now, if i click cancel ; the model should come back to actual mode (without colours).
i.e;the functionality of cancel is same as 'return ' in qualityindex panel.
i dont know by which command 'return' is possible.
You can press the 'return' button in the panel using mouse commands:
*beginmacro('macroQIstop') *enterpanel('qualityindex') *movetomenuitem('return',1,31999) *button(1,0) *button(1,0) *button(1,0) *button(0,0)*endmacro()But this is not available in TCL coding. Another option might be to just enter another panel, which will stop the quality index color coding of your elements:
proc StopQual {} {hm_setpanelproc QI0}proc QI0 {} { hm_callpanel 'spheres'}
Actually ' date=' I created a GUI with two buttons check and cancel.if i clicks on check the above process was called and i m getting the panel and color coding also done according to data in criteria file.
Now, if i click cancel ; the model should come back to actual mode (without colours).
i.e;the functionality of cancel is same as 'return ' in qualityindex panel.
i dont know by which command 'return' is possible.
[/quote']
Hi,
it's a better way that enter qualityindex panel, and use hm_exitpanel to exit. Like this:
proc SetQualityDataintoHM {} {
eval *createdoublearray 89 $Finallist
*reset_qa_calculator 1 89
hm_pushpanel qualityindex; #enter qualityindex panel
}
and bind 'hm_exitpanel' as command of your Cancel button
Hi,
Are using some other commands before or after resetting qa params?