I have a script I wrote that has a function that does that. "Pivot to World Zero" http://dl.dropbox.com/u/2336353/SceneClean.ms Feel free to rip the code out and purpose it however you need, or run the script once from anywhere and then you'll find it under Customize UI > Category: "VigTools"
it´s not that i can´t change the text of a label(and the property is caption). The problem is, that i have to click on a button to update the value, but i want it to change if i select an object, change it for example. this "for obj in selection do" what happens if i run the script and nothing is selected? My problem is,…