🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Is there a way to detect error message?

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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?

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "tinh"
    Altair Community Member
    Updated by tinh

    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?