-
-
December 11, 2018 at 10:20 pm
rm19g14
SubscriberI am running a script to read in a set of views, create a surface, plot contours on the surface and then save the image. The script marches the surface down the selected views saving images out of the contours so that I can put them together and create an animation of the still frames. The issue im having is that on random frames I get the error:
No error handler available
I can manually alter the script to avoid this frame and the script carries on as normal but this is not ideal because the error can happen at another frame and I need to run this script on multiple geometries which fall over at different frames. I have tried turning 'exit on error' on and off but this still causes the journal file to stop. I do not need the frame that is causing the issue, but I do need the script to carry on after this errorÂ
im very confused about this error and any help would be much appreciated. I have attached the error log with this post
-
December 12, 2018 at 4:21 am
Keyur Kanade
Ansys Employeeplease make sure that the surface creation is successful at the time of error. we will need to investigate why this error is coming? can you please insert some images of your geometry, mesh, set up?
you can exit when error comes in with following.Â
Add the following line at the beginning of the journal file.
(set! *cx-exit-on-error* #t)
For example,
(set! *cx-exit-on-error* #t)
/file/read-case-data
sample.cas
/solve/iterate
10
/file/write-case-data
samplex.cas
exit
-
- The topic ‘Error when generating images in batch mode’ is closed to new replies.
-
3597
-
1208
-
1092
-
1068
-
952
© 2025 Copyright ANSYS, Inc. All rights reserved.