Thursday, May 26, 2011

A maxscript lesson

A little maxscript for you if you need to set all the (Hierarchy - 
Link info flags) to on or off just put this in the listener and 
hit shift enter. Make sure you have something in the scene 
to run it on of course.

setTransformLockFlags selection #all

or to uncheck them all

setTransformLockFlags selection #none


This doesn't show up in the listener and is a part of the help 
file in maxscript tutorials called
How To ... Develop A Transform Lock Script 


So to run it over a number of objects select them then type 
or paste in the listener
for i in selection do setTransformLockFlags i #all
or
for i in selection do setTransformLockFlags i #none

No comments:

Post a Comment