PDA

View Full Version : Keys problem


gasmasocet
10-30-2006, 11:09 AM
may be it is stupied question but my problem is to select and acess later ALL KEYS (means ALL, objects materials and etc) in the specific scene. reading help i get this.


Max Select All
selectKeys $


hou to assign selected keys to array?


something like x=selectKeys $ as array


I am new in the script..... so i can`t solve that alone

gasmasocet
11-01-2006, 10:09 AM
Make some objects, make some keys
to collect all keys for all object in the scene and get access to keys properties i did this, if there is smarter way, please help

My solution is:


trackviews.open "TrackView"
p=trackviews.currentTrackView
selectkeys $
MyKeys=#()
x=1
while (p.getSelected x) != undefined do (
r = p.getSelected x
join MyKeys r.keys
x=x+1
)
trackviews.close "TrackView"

CGTalk Moderation
11-01-2006, 10:09 AM
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.