Do actions for each object individually

I have a little problem and need some help,

eg.: i have 10 objects, and on each i need put uvwmap (not instanced) with real world off, chamfer , and after all convert to editable poly... any ideas? ;x

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
fajar's picture

( local cp=copy local

(
	local cp=copy
	local uv=uvwMap realWorldMapSize:off
	local cvt=convertToPoly 
	local sel = selection
        local addMod=addModifier 
	with redraw off
	(
	   for i in sel do 
		  (
		   addMod i (cp uv)
		  )
	  cvt sel editable_poly
	)
)
miauu's picture

.

I can't understand what CHAMFER means, so add it.

(
	selObjsArr = selection as array
	for o in selObjsArr do
	(
		uwvMap = Uvwmap ()
		uwvMap.realWorldMapSize = off
		addModifier o uwvMap
		--	"add CHAMFER below this line"
 
                --
		convertToPoly o		
	)
)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.