for example
I have a circle, radius 10.
Offset value 20. but offset direction inside of circle. This case I want to catch exception.
it is not
Thanks.
Discussion
4 archived replies
Posts are displayed in their archived order.
01Commenter-1
Dear Suleyman,
Exception is raised in case if the algorithm is not initialized.
In other cases exception may be caught inside the algorithm with
following set of the operation status to NotDone.
Small hint: simply check result of offset operation, like below
offset.Perform(offsetVal);
if(!offset.IsDone()){ ...}
Best regards
FSR
02Author
Thanks for your reply
You said "check result of ofsett operation".
But I dont check. Because its crashed in Perform Function and I dont check(isdone)
Another advice, solve?
Best regards
03Commenter-2
Hello :)
same problem here. BRepOffsetAPI_MakeOffset::Perform(...) crashes with AccessViolation! This Exception can't be catched.
BTW: Is there any Error-Reporting provided by the Offset Algorithm?