A high school friend had a scaling question and asked me this question. Heck I don’t even understand everything on this blog. Take for instance error catching. I haven’t spent a whole lot of time exploring it. I’m more interested in solving the civil design portion of the solution than making sure it works for all cases. A user of the Civil 3D Reminders Pack came across this warning message when attempting to utilize the swap parts command.
The error message is popping up because an error was encountered and I didn’t take care of it in the code at the time it happened.
Pressing continue will allow the user to return to Civil 3D, but the message is a bit cryptic, but it’s basically saying the programmer didn’t do proper error catching. .NET is smart enough to recognize something went wrong and to try to continue on. To Catch portion would need to be revised to Catch an error instead of Catch ex as Exception. The error wasn’t an exception so it wasn’t being caught properly. A message probably be added to prompt the user to audit the drawing before trying again.
In this case of this error in the code, the drawing database became broken. An audit of the drawing removed this error from popping up.
No comments:
Post a Comment