Vizard 7 » Command Index » Vizard objects » node3d » <node3d:GUI:progressbar>.get
7.7

<node3d:GUI:progressbar>.get

This action will return the current state of the progress bar

<node3d:GUI:progressbar>.get()  

Remarks

This action will return the current state of the Progress Bar. The state is a number between 0 and 1.

Return Value

A number between 0 and 1

Example

pb = viz.addProgressBar('Progress')
pb.setPosition(0.5,0.5)
print('Progress state:',pb.get())