PDA

View Full Version : How can I move an object to world origin 0.0.0


pika
04-12-2003, 09:33 PM
Hello,

Is there any way to easily move an object to world origin?
I tried Freeze/Reset transform but they did not work.

Thanks

Rudity
04-12-2003, 09:45 PM
hold "x" and snap the object to 0,0,0 on the grid.
Then after you snap it, freeze transformations.

Undseth
04-12-2003, 11:12 PM
um how about simply make a button on the shelf, with a one line mel script. Moving any object to the grids origo.

pyromania
04-12-2003, 11:55 PM
$obj=`ls -sl`;
move -rpr 0 0 0 $obj;


Make this a button in your shelf. It will take whatever object you have selected and move it to the origin (0 0 0)

pika
04-13-2003, 12:30 AM
Great! thanks.

I'll make a shelf button out of the code.

Randuin
04-13-2003, 03:19 AM
another icon goes into my poly model shelf ;)

Undseth
04-13-2003, 06:07 PM
Oj! That MEL code has two lines. Didn't know that was neccessary.

beaker
04-14-2003, 06:29 PM
No need to script this. There is a little text box in the top bar on the far right(near the history button). To the left of it is a little down arrow, click on it and change it to "absolute". Then just type in "0 0 0".

Randuin
04-14-2003, 11:57 PM
but scripting is still faster :P

CGTalk Moderation
01-14-2006, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.