CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-14-2013, 05:25 PM   #1
JokerMartini
Expert
 
JokerMartini's Avatar
portfolio
John Martini
CG Supervisor, 3D, Maxscript, VFX
Ingenuity Engine
Los Angeles, USA
 
Join Date: Mar 2009
Posts: 1,313
Send a message via AIM to JokerMartini
Set tracks non keyable

Hey guys. Just wanted to share with everyone the ability to make and objects tracks non-keyable/animatable.

I always tend to forget about this and it can become very useful.


Code:
$.position.controller.X_Position.controller.keyabl e = false $.position.controller.Y_Position.controller.keyabl e = false $.position.controller.Z_Position.controller.keyabl e = false $.scale.controller.keyable = false $.rotation.controller.X_rotation.controller.keyabl e = false $.rotation.controller.Y_rotation.controller.keyabl e = false $.rotation.controller.Z_rotation.controller.keyabl e = false
__________________
____________ ___ __ _
John A. Martini
JokerMartini@hotmail.com
www.JokerMartini.com
 
Old 02-14-2013, 05:58 PM   #2
Klunk
Lord of the posts
 
Klunk's Avatar
portfolio
Klunk
United Kingdom
 
Join Date: Sep 2005
Posts: 701
unfortunately you need to disable keyboard input too
Code:
$.position.controller.X_Position.controller.keyabl e = false addnewkey $.position.controller.X_Position.controller 10; $.position.controller.X_Position.controller.keys


oh and the track view, and bizarrely even though you can't actually move the node when the auto key is pressed it still adds keys.

Last edited by Klunk : 02-14-2013 at 06:14 PM.
 
Old 02-15-2013, 04:38 AM   #3
denisT
MAX Doctor
 
denisT's Avatar
portfolio
Denis Trofimov
CA, USA
 
Join Date: Jul 2009
Posts: 9,626
Send a message via ICQ to denisT
to make a controller not keyable just lock it.
 
Old 02-15-2013, 06:40 AM   #4
JokerMartini
Expert
 
JokerMartini's Avatar
portfolio
John Martini
CG Supervisor, 3D, Maxscript, VFX
Ingenuity Engine
Los Angeles, USA
 
Join Date: Mar 2009
Posts: 1,313
Send a message via AIM to JokerMartini
How do you lock it. Doesn't that make it impossible to move then.
__________________
____________ ___ __ _
John A. Martini
JokerMartini@hotmail.com
www.JokerMartini.com
 
Old 02-15-2013, 06:40 AM   #5
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:42 AM.


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