locking controller is slow?

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 06 June 2013   #1
locking controller is slow?

So i'm trying to lock position controllers on some selected object

ar1 = selection as array
for i=1 to ar1.count do
(
	lockedTracksMan.setLocks true #(ar1[i][3][1]) #(ar1[i][3]) #(1) true
)


but it's very slow (like 1 second per object), even for one object. Any tricks or alternatives to speed it up?

Edit:
If the material editor is open it's slow, but if it's closed the speed is fine. any ideas why?
__________________
--
Caustik | Detail in Motion
MotionGraphics and Visual FX studio
work: www.caustik.tv
blog: www.caustik.tv/blog

Last edited by caustikstudio : 06 June 2013 at 10:38 AM.
 
Old 06 June 2013   #2
have you tried turning off redraw?
__________________
Matt Rennie
Sr. Character Rigger
Rockstar North
 
Old 06 June 2013   #3
Hey Matt,
Yes tried undo off(), with redraw off() and suspendEditing which:#all.
It works fine when the mat editor is closed but super slow when the mat editor window is open.
__________________
--
Caustik | Detail in Motion
MotionGraphics and Visual FX studio
work: www.caustik.tv
blog: www.caustik.tv/blog
 
Old 06 June 2013   #4
Originally Posted by caustikstudio: Hey Matt,
Yes tried undo off(), with redraw off() and suspendEditing which:#all.
It works fine when the mat editor is closed but super slow when the mat editor window is open.

i can confirm this issue. (max 2012/64). I've tried to disable the Material Editor window redraw. The same problem...
 
Old 06 June 2013   #5
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 07:15 PM.


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