Forum Replies Created

Viewing 1 reply thread
  • Author
    Posts
    • #9550

      Screenshots:

      Attachments:
      You must be logged in to view attached files.
    • #9549

      Dear Reinhard,

      I am currently facing two problems with the model:

      1- The first one is that, after adding more parameters to the 1st Attractivity C# Component, I keep getting this error: 1. The index was out of range. It should be non-negative and smaller than the size of the collection. Parameter name: index (line: 0). – The definition follows in the screenshots.

      2- The second one is that I am not sure how to sum up three lists. This is one of my attempts:

      List < int> sumList = (PopulDistrib.Zip(AgricultureDistrib, (x, y) => x + y).Zip(CommercialHubDistrib, (x, y) => x + y).Zip(PermacultureCenterDistrib, (x, y) => x + y);

       

      Thanks for the help in advance!

      Luisa.

       

    • #9562

      Again the GH file.

      Attachments:
      You must be logged in to view attached files.
Viewing 1 reply thread