Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4159

C# script: Error 1: Index out of range

$
0
0

Hi there,

I wrote a simple C# code to help me calculate the amount of rainwater that would be stored in a tank after using some of it for irrigation.
Everything seemed fine on the first run, but then I got the annoying 1. Index out of range error. I keep moving things around my code and keep failing to find the answer.

Any chance someone can take a look at it?

Much appreciated.
Dario
210716 - HMO.gh (32.7 KB)

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4159

Latest Images

Trending Articles



Latest Images