Can't get butterfly block pts as list in python

I’m trying to use the butterfly block points but give me the error out of range,

I print the _WTpoints and his type, it is a list, but has none values, what can i do ? here is the complete gh file
script (65.1 KB)