Yes that is all right
question is why and for what reason we can specify weight in materials if we can not
use it in expressions. The way you have showed me I have to make special Xy new variables
and I will have to check it by clicking it in properietes instead of checking it visualy by material
with one line of code