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

Rhino.ReadTextFile command mystery

$
0
0

Hi everyone,

I have a little mystery here… The above code is my way to check that when I use Rhino.ReadTextFile I do get an array of text lines (arrText)… and usually it is the case.

But sometimes, the very same command used with the very same txtFile does not behave the same : the condition “isArray(arrText) becomes False” and of course my program stops here.

Do you have any clue why this happens ? The txt file and my code are both on my C:/

The code

The text file

Thanks for your help,
BR
Tanguy

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5788

Trending Articles