This seems like it’s a C# / .NET problem, but I can’t find any answers in the wider community. Thanks in advance for your patience with my ineptitude.
I have a component
Lattice Generator which feeds two sets of information into another component,
GH_Structure<GH_Point>with one point per branch.
- a List with eight vectors on it.
Cell Generator is then to take each Point and apply the List to it, making eight points from the one it was given, on a GH_Structure with the same branch address as the Point came in on. This isn’t quite working yet, but I have a bigger, nastier looking problem I need to sort out first.
Cell Generator component has a couple other functionalities that come from the same component, each as a single string of information.
So - every time I plug something new into the
Cell Generator, it causes the
GH_Structure<GH_Point> values to increase.
I’ll get to code soon if necessary. Mine is so in progress and I’m still learning, so it’s a huge mess - probably less confusing for such a general question if I post screenshots…
Edited to add: in the
CellGenerator component I am using a “foreach” loop to iterate over each
GH_Point in the
GH_Structure individually. I commented this out and the upstream problem goes away. Is there a good guide anyone can think of for using foreach statements on
Thanks in advance for any help you can offer. Sorry for making such dumb problems!