simple object selection channel change

I am having hard time putting a working script together,

I use these operations:

channelInfo.CopyChannel $ 3 9
channelInfo.PasteChannel $ 3 1

And I can`t seem to figure out how to do this to a current selection of objects

Can anyone help me with this?

Thanks

Comments

Comment viewing options

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

iterate on selected objects, right?

for obj in selection do
(
 
	channelInfo.CopyChannel obj 3 9
	channelInfo.PasteChannel obj 3 1
)

my recent MAXScripts RSS (archive here)

dainazinas's picture

Your the man Anubis. Many

Your the man Anubis. Many thanks. Now i`ll just have to remember this.
Thanks again.

Comment viewing options

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