generative modeling for Rhino
Because there isnot debug in grasshopper,i find the mistake by creat variables.
my total code is 230 rows,but the outputshow there is a error in 242 row!
i cannot believe that!
when i delete the "curb" input of the c# component,the error is disappera!
i think it should be a bug!(i attach the zip,you can check it)
Tags:
Permalink Reply by Giulio Piacentino on March 4, 2012 at 1:26pm Hi Andrea,
it is not possible to download .rar files from this forum. Please upload a .zip file, instead (or the two files separately).
Thanks,
- Giulio
________________
giulio@mcneel.com
Permalink Reply by Andrew Heumann on March 4, 2012 at 2:00pm The component you're referring to throws no error for me... works right when I open the file.

The code you see in the editor is only part of the code that is eventually compiled when the script is run. I add some more functions to interop the RunScript arguments with the component output parameter. The error is clearly somewhere in this part of the code.
It is a bug, there should not be errors down there, I'll take a look at the files you posted.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Maybe you can try Grasshopper.GH_InstanceServer.DebugLogAddEntry(string)
Permalink Reply by Suryansh Chandra on March 5, 2012 at 10:31am Isn't it just a bug of not being able to cast a List of Objects to a Curve? I agree the debugging error could be better but to get the problem solved for now, I think somewhere you're trying to use a list as a Curve, which is logically inconsistent.
Added by David Stasiuk 8 Comments 21 Likes
Added by stefano 5 Comments 7 Likes
© 2013 Created by Scott Davidson.
Powered by