Is there a way to detect error message?
I am now using a tcl script to do some boolean operation.
The process is Geom -->Solid edit -->boolean: advanced, A+B, AB faces in B.
for example:
A: comp1
B: comp2
Sometimes it will fail, and pops out the error message ' internal error '. So, I will manually swap A and B, then it will work.
Thus, I think that if I can detect the error , then I can swap A and B by tcl script. But, is there a way to detect error message?
Answers
-
Altair Forum User said:
I am now using a tcl script to do some boolean operation.
The process is Geom -->Solid edit -->boolean: advanced, A+B, AB faces in B.
for example:
A: comp1
B: comp2
Sometimes it will fail, and pops out the error message ' internal error '. So, I will manually swap A and B, then it will work.
Thus, I think that if I can detect the error , then I can swap A and B by tcl script. But, is there a way to detect error message?
Hi
Can't you catch it by 'catch' command?
0