Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum
Descrição
Hello, I am trying to use Rhino.Runtime.PythonScript to execute Python code (that may raise exceptions) from C#. I having some difficulties catching the exceptions because the raised types are not derived from System.Exception (please see screenshots below). I was wondering how can I fix this? Thank you in advance! Unable to catch the exception raised from IronPython.
Scipy and Numpy - Grasshopper
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://global.discourse-cdn.com/mcneel/uploads/default/optimized/4X/3/c/c/3cc8be0dcd6ac4ac7a473390509d74aed6d71dbb_2_1024x545.png)
IronPython Runtime Exception - Grasshopper Developer - McNeel Forum
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://www.rhino3d.com/inside/revit/static/images/guides/rir-csharp03.png)
Rhino.Inside®.Revit
Scipy and Numpy - Grasshopper
Scipy and Numpy - Grasshopper
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://pdfcoffee.com/img/200x200/rhino-script-5-pdf-free.jpg)
Rhino Script
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://image.isu.pub/141004025307-8f7b1a5ffe1290982f560b83491a115a/jpg/page_1.jpg)
ModeLab Grasshopper Primer Third Edition by Gil Akos & Ronnie Parsons by Pablo C. Herrera - Issuu
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://discourse.ladybug.tools/uploads/default/optimized/3X/f/b/fbb9d8b99834537a973aafef3375ba2062b234c2_2_1024x267.png)
Ladybug Tools for Grasshopper 1.0.9 Patches & Improvments - releases - Ladybug Tools
How to Create Python Plugins for Grasshopper
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://global.discourse-cdn.com/mcneel/uploads/default/optimized/4X/5/2/7/52759fb29eed89327cc9d763999a53d2f9efacef_2_635x500.png)
Scripting - McNeel Forum
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://stevebaer.files.wordpress.com/2019/02/pycharm_autocomplete.png?w=584)
Autocomplete and Type Hints with Python Scripts for Rhino/Grasshopper
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/8/9/a896783c81e9001895adb21b6648fc99da2ed3b8.png)
Scripting - McNeel Forum
![Catch IronPython Exceptions from C# - Rhino Developer - McNeel Forum](https://www.rhino3d.com/inside/revit/static/images/guides/rir-csharp10.png)
Rhino.Inside®.Revit
How to Create Python Plugins for Grasshopper
de
por adulto (o preço varia de acordo com o tamanho do grupo)