I’m trying to run a script with a python component to rotate an object using rhinoscriptsyntax.
While the original script runs fine, I get a NullReferenceException error when ran through Hops.
Is there a way to get this working?
I’m trying to run a script with a python component to rotate an object using rhinoscriptsyntax.
While the original script runs fine, I get a NullReferenceException error when ran through Hops.
Is there a way to get this working?
rhinoscriptsyntax.RotateObjects is having an issue when running in an environment where no user interface exists due to this line
There are no views so the script is throwing an exception. We can fix this in rhinoscriptsyntax by always making axis equal to (0,0,1) but for now you could try passing the axis to your function. I added this to our bugtracker at
https://mcneel.myjetbrains.com/youtrack/issue/RH-69898
Ah! Many thanks!
This also helps for debugging other errors of the same sort.