Expression component input data

I study grasshopper just now.

This script is not work.

1.What is a problem?
i think that reason is expression component variable.

  1. Why the input data x and z are string?


q01.gh (11.5 KB)

If you provide data from the panel, that would be recognized as text which is a string…
Use Integerprimitive instead.

I changed the number of pannel to an integer.

but that dosen’t still work.

can you check the flow?
thank you

Your initial branch index data doesn’t match with your mask…


q01_re.gh (11.8 KB)

thanks a lot.

and than may i have another question?

how can i write integer and box?

image

You type <kbd>Integer</kbd>.
-wim

Integer