Jump to content
liangycc

How to get the detailed information from qulityindex in tcl?

Recommended Posts

Hi,

Thanks to all of you for your valuable time and efforts putting in helping others.

I want to improve mesh quality by using qulityindex,but the only api i can find to get the error info is hm_getelementsqualityinfo,which can not show the error element list.

I think i have to get the error element list.Then i can improve mesh quality by using some apis like  *elementqualitysplitelem elem_id.

Could you give me some suggestions?
Thank you very much!!!

Share this post


Link to post
Share on other sites

Hi,

try specifying output mark for failed elems:

*createmark elems 1 displayed

hm_getelementsqualityinfo 1 1 2

puts Fails=[hm_getmark elems 2]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×