algorithmic modeling for Rhino
I'm working on a component in Visual Studio for Grasshopper. Most code compiles within VS without an error, but once you add inputs and outputs, the issues start coming.
Currently I am struck with a bug that tells me:
The error is:
1. Solution exception:Parameter must be positive and < Height.
Parameter name: y
I can approximate where it is in my code that is throwing this error, but it doesn't point to anything specific. What can I do at this point?
Attached is the code.
Tags:
Have you set up debugging correctly on your VS? If so, you should be able to set a breakpoint and walk through your code, see where the error happens.
--
David Rutten
david@mcneel.com
But seriously, if you can't debug your components from within Visual Studio you should try and make that work. The more code you write the more important it becomes that you can examine states and callstacks via breakpoints.
--
David Rutten
david@mcneel.com
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by