[ 3DMax ] How to use maxscript quickly set all keyframes to Sliding Key?


How to use maxscript quickly set all keyframes to Sliding Key?
“SetSlidingKey()” Only the current frame can be set.
Do you have a better way?Thank you!

This should set a sliding key for each selected object over the current time line:

for frame = animationRange.start to animationRange.end do
(
	at time frame do
	(
		for node in selection do
		(
			biped.setSlidingKey node
		)
	)
)

thank you! But doing so takes a long time when I have a lot of files. I hope there is a faster way