deleting layers in mixer

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  05 May 2008
deleting layers in mixer

Hi, Im having some problems with corrupt scenes, we have narrowed it down to a mixer problem. What i would like to do is delete all the Line04 "layers" (see picture, all the things on the left named Line04, not sure if there called layers or not) via script, as in some scenes just opening mixer crashes max. but if you manage to open the mixer, select all thoes Line04 and delete them them by hitting delete on the keyboard or in the menu, it seems to fix the problem. but i have no idea how to do the same via script.
So basically, via script i want to delete all "layers" in the mixer.
any help would be much appreciated!!
Attached Images
File Type: jpg mixer.jpg (55.5 KB, 14 views)

  05 May 2008
Hi, we have found a way to delete the layers in the mixer, here is the script below for anyone that may have the same problem one day.

count = theMixer.numMaxMixers()
for i in 1 to count do
theMixer.removeMaxMixer 1 false 1

  05 May 2008
Thanks for providing your own solution Richard. It's really helpful. I always find it irritating when people just say "Solved it" but don't show how or why.

As you say, you never know when someone else will have the same problem (providing they search for it first!).
"There Really is No Secret"
Martin Brennand - mocha Product Manager - Imagineer Systems
  05 May 2008
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:59 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.