how to detect a construction path is crossing void region before evaluating it

Options
Barnabe_Neyret
Barnabe_Neyret Member Posts: 2 **

Hello, I'm using ansys mechanical scripting to generate numerous stress linearization paths. I create paths automatically then I snap them to mesh nodes. Due to mesh density (which I cannot change), sometimes the paths snap to two different bodies with a void gap between them. Therefore it raises an error when I evaluate the linearized stress probe attached to it. Worse, it fails all the linearized stress results even if some were properly defined. My question is: is there a way to know by advance if the path is crossing a void region thus can't be evaluated ? Or can I evaluate linearized stress results individually so I can raise exceptions, instead of using EvaluateAllResults() ? Thanks for your help

Answers