Grasshopper

algorithmic modeling for Rhino

Using the latest GH, 0.7.0037, I am slowly trying to build up a custom component, and i get this error out of the blue...
Something's definitively wrong, probably in what I'm doing:


etc...

protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_StringParam("out2", "out2", "pumping stuff in here");

}

protected override void SolveInstance(IGH_DataAccess DA)
{
bool toggle = false;
string output = "starting \n ending as well.";
DA.SetData(0, output);
}
Cheers,
d

Views: 775

Replies to This Discussion

thanks for the info - didn't have time to check it out. i remember trying with trees instead of lists some time ago and it seemed to work fine.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service