.... ... myblock.field1.set(mainblock.field2.get() + mainblock.field3.get()) myblock.field1.set(mainblock.field2.get() + mainblock.field3.get())