PDA

View Full Version : moving object to selection centre


djlane
01-29-2005, 04:23 PM
Hello All,

I am trying to write a script which will automate a few repetitive tasks, and I need it to move a helper object to the centre of a selection of mesh objects. how would i go about writing that?

Thanks for any help

cheers

magicm
01-29-2005, 10:52 PM
It's actually simpler than you'd think:

$Dummy01.position = selection.center

;)
Martijn

djlane
01-30-2005, 10:19 AM
Thanks for that.

cheers

Dan

CGTalk Moderation
01-30-2006, 11:00 AM
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.