Python mapping family by value

Hi all,

I’m trying to map a couple of annotation tags based on a if statement in a python node. I don’t know what’s causing the problem. The error is saying that I haven’t assigned the variable S and I think it’s telling me it’s a string, but I have already converted it to a number.

I would extremely appreciate your help on this. Please see below snippet of the code and error I’m getting. Once again thank you.

error

Hi @James_Washbourne

And also this. You missed "."

2 Likes

image

3 Likes

All,

Thank you very much.