Catching An Error
Hey guys,
I want to catch a mistake concerning the mesh. when this mistake is occuring, the user should be able to fix the mesh.
During a while loop i have sometimes an error in the command *plotnodelist, because it needs the inputs 'results of a analysis' and 'nodes id'.
Sometimes the analysis fails and *plotnodelist leads to a break down of Hyperworks because of the missing results.
Here is the relevant part of my code:
while {} {......
if { [catch {*plotnodelist 1}] } {
puts 'analysis failed '
break
} else {
*plotnodelist 1
}
....}
Kind regards
Simon