mrben
12-18-2006, 03:32 PM
hello,
I've been trying to access the Gizmo of a Volume Select from within a script, and I'm constantly getting errors.
When I run the same code from the listener it works great, it took me some time but I narrowed it down to the progressbar. If I comment out the progressbar command it works great.
here's the code section for accessing the gizmo :
myvol = volumeSelect()
myvol.invert = true
myvol.level = 1
addModifier ImportedShape myvol
ImportedShape.modifiers[1].gizmo.scale = [2,2,2]
Anyone else had any strange behaviour when using progressbar ?
cheers
ben
I've been trying to access the Gizmo of a Volume Select from within a script, and I'm constantly getting errors.
When I run the same code from the listener it works great, it took me some time but I narrowed it down to the progressbar. If I comment out the progressbar command it works great.
here's the code section for accessing the gizmo :
myvol = volumeSelect()
myvol.invert = true
myvol.level = 1
addModifier ImportedShape myvol
ImportedShape.modifiers[1].gizmo.scale = [2,2,2]
Anyone else had any strange behaviour when using progressbar ?
cheers
ben
