Notifications
Clear all
[Closed] Python – delete all keyframes on selected
Jan 23, 2017 1:51 pm
Key
Does any1 know how I can delete all keyframes on selected object/camera? I’m out of ideas…
Thanks!
Regards
Dariusz
3 Replies
Jan 23, 2017 1:51 pm
Sorry friend,
I have tried to look into moving keys with maxPlus as it is theoretically much faster than maxScript, with no luck though.
If you do figure it out please share your solution?
Jan 23, 2017 1:51 pm
Will definitely let you know ! :- )
For the moment I falled back max script but failing to delete keyframes… can any1 have a look at this ?
Don’t want to start new topic just yet…
Nevermind everything works. User stupidity lol.
for t in 0f to 10f by 1f do
(
sliderTime=t
Clearselection()
$motionCam
node = maxOps.cloneNodes $motionCam cloneType:#copy newnodes:&nnl
select nnl
for ob in selection do
(
deletekeys $ #allkeys
)
)
Jan 23, 2017 1:51 pm
DeleteKeys, and most other key functions, are mapped. So you don’t need a loop. This would work.
deletekeys selection #allkeys