Grasshopper

algorithmic 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)

Views: 714

Replies to This Discussion

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

files uploaded!

uploaded

Attachments:

The component you're referring to throws no error for me... works right when I open the file. 

may be i use rhino 4,yours is 5

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)

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.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service