2 questions

1 > When writing a script ( with Draw events) in the text editor and modifying it, I have to reload the text file for Blender to take account of the modified code . What am I doing wrong ?

2 > I make a Number button, how can I get the float input ( the number the user give to the button) for using it in the program ?

thank you guys !

(I made a mistake : start learning python, I can’t stop now !)

If you have a button object called like this :

 Number_button=Blender.Draw.Create(0)

The value is in .val:

My_value=Number_button.val

http://www.blender3d.org/documentation/240PythonDoc/Draw.Button-class.html#val