I want be be able to select an object and have a locator created at its pivot point (not at the center of it's bounding box). There must be some way to do this or create a script for this... any advice would be greatly appreciated. -lincoln
sorry just out of couriosity whats the difference other then the Float veriable and the rest of the procedure is now outside a scope and the variable now are keps as global?
When you decler something in a scope { } maya will destry the variable as soon as the scope as been execute it's most of the time usefull to actually inclue { } in your script editor so the variable are gettin cleaned all the time.
Also re-decler a variable can be usefull so you do not have garbage value. this of course is my honest opinion but I would like to know why do you reckon you should change the script there is always something to learn about .
for some reason the first time I tried your script, I kept getting a syntax error. It said that the $getPvPos var was not declared. I just tried to use your ver and it works. Must have missed a bracked or something when copying it.
Sorry .... didnt mean to make a big deal I was just courious to know if you had any particular reason to change the script there is always room for improvements and I was looking to learn something new