Notifications
Clear all

[Closed] Keys problem

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.

[left][color=white][/left]
[left]Max[/color] Select All[/left]
[left]selectKeys $[/left]

[left]hou to assign selected keys to array?[/left]

[left]something like x=selectKeys $ as array[/left]

[left]I am new in the script… so i can`t solve that alone[/left]

1 Reply

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"