Duplicate Surfaces
Akshay Manthekar
Altair Community Member
Hi Guys,
I am using error handling in TCL/TK for checking whether the entity used for midsurface creation is solid or not. First I check if component is solid or not using below command and if it is solid, I again use this command (except error handling) to generate midsurface.
set solidCheck [catch {*midsurface_extract_10 solids 1 3 0 1 1 3 0 3 0 0 10 0 10 -2 undefined 0 0 0}];
But the problem is that I am getting duplicate mid-surfaces. So my question is do we get midsurfaces when we use above error handling code?
Any help is much appreciated.
Thank you!
Tagged:
0
Best Answer
-
Yes. With the catch command the command inside runs normally just if there is an error it doesn't crash your code.
0
Answers
-
Yes. With the catch command the command inside runs normally just if there is an error it doesn't crash your code.
0 -
Thanks Ben!
0