Grasshopper

algorithmic modeling for Rhino

I'm sure this is really simple, but I am trying to simplify the output of my C# Component. I am using both Print(); to output text, as well as other variables containing geometry.  The data is structured in a series of lists (not in a tree).

I have attached a photo of the data I am trying to simplify.  Any help would be greatly appreciated.

Views: 397

Attachments:

Replies to This Discussion

Make sure you're consistent in your output. Some of your outputs are a list, others are single values. You can work around this by also outputting your single values as a list:

eg. A = new List<double> () { 1 }; will ouput a list with one element with only one number.

So your saying I would have to make all outputs EITHER a single value, OR a list?  This would mean that if I have 5 outputs, 4 are lists and 1 is a single value, the single value needs to be set to a list as you just described. 

Correct?

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