View Full Version : object placement with ms

07 July 2006, 02:16 PM
Hi everybody,
does someone knows a script which can place and rotate instances of an object at the locations of objects in a selection. Every reply is very apprechiated.

07 July 2006, 08:10 AM
you don't need a script for this in max8, use the seelct and replace tool. -- edit: sorry, the clone and align tool!


-- array pickobject to selection

-- simply select all objects you want to replace,
-- execute script,
-- pick the new object,
-- press delete to delete the old objects.

undo "Pickobject array" on
p=pickobject prompt:"Pick object to array."
for s in selection do
k=instance p rotation:s.rotation pos:s.pos
-- k.rotation.z=(random 0 360) -- remove the quotes from this line to have random rotation

07 July 2006, 05:10 PM
thanks a lot mate :thumbsup:. This is exactly what I was looking for and Iīm joyfully suprised that itīs already there. I didnīt thought of looking at the standard functions because I was really sure this could only be accomplished via ms. So thanks again for pointing me in that direction.

greets - gulio

CGTalk Moderation
07 July 2006, 05:10 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.