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 CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2008   #1
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)
__________________

 
Old 05 May 2008   #2
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
__________________

 
Old 05 May 2008   #3
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
 
Old 05 May 2008   #4
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 06:53 AM.


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