Saturday 16 March 2013

Attach Selected

Simple one for attaching objects together based on your selection.


  
-- MixeScript snippet: Attach Selected
-- Attaches selected objewcts to the first object which was selected

--USAGE
-- select an object (the object to attach TO)
-- select more object(s)
-- run script
-- objects now attached to the first object selected

attachtoobj = selection[1]
macros.run "Modifier Stack" "Convert_to_Poly"
objarray = getcurrentselection()
for obj in objarray do ( attachtoobj.EditablePoly.attach obj attachtoobj )
  

No comments:

Post a Comment