Ralf61 opened this issue on Jan 20, 2005 ยท 8 posts
Ralf61 posted Thu, 20 January 2005 at 11:50 AM
Can somebody gmme a short hint how to delete all Frames within Python? There is a command 'DeleteAllKeyFrames' but this is not what I'm looking for. I need to erase all frames (of course not the first one :-) Thanks in forward
ockham posted Thu, 20 January 2005 at 1:12 PM
Attached Link: http://ockhamsbungalow.com/Python/HoldStill.zip
Here are a few useful examples.Ralf61 posted Thu, 20 January 2005 at 2:41 PM
Am I blind or did I miss something? :-) I can'T find a command to delete a frame in your useful code. Only for Keyframes. Sorry that I have to ask again ...
Ralf61 posted Thu, 20 January 2005 at 2:48 PM
I assume that I should use something like poser.Scene().NumFrames() = 1 But this doesn't work. OR should I use SetOutputRange. But this isn't exactly what I'm looking for ... sigh
ockham posted Thu, 20 January 2005 at 4:33 PM
Ralf61 posted Thu, 20 January 2005 at 4:41 PM
Thank you again. Thats what I needed! I always wonder how some people find such a solution. Great!
underdog posted Mon, 24 January 2005 at 6:12 PM
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=1854359
Thanks Ockham. That's a neat trick. I knew that adding frames was going to work, but finding the way to delete frames is a great tool to have around.Ah, there it is... I thought I had asked about this months ago.. It was back in July. Good things come to those that wait.
Message edited on: 01/24/2005 18:15
3dtrue posted Fri, 22 April 2005 at 2:06 AM
wow! thanks ockham. you rock! i love how the Poser PDF manual never bothers to tell you there is not a call to add/delete the total number of frames. I've been stabbing for a solution and here it is. thanks again.