Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Changing the Transport FPS-- should be simple, right?
  RSS 2.0 ATOM  

Changing the Transport FPS-- should be simple, right?
Rate this thread
 
32272
 
Permlink of this thread  
avatar
  • dwright
  • Posted: 20 July 2009 11:14 AM
  • Total Posts: 3
  • Joined: 20 July 2009 06:02 PM

Hey, All--

I’m trying to change the transport control frame rate to 120 fps in MoBu2009, and I’m having a tough time making it work. I’ve tried this:

FBPlayerControl().SetTransportFps=FBTimeMode.kFBTimeMode120Frames

It doesn’t return an error (which is good), but it doesn’t change the frame rate, either. I’ve tried a number of variations, but so far, no luck. It’s starting to drive me a little insane.

Has anyone tried this successfully?

Thanks much!

--D



Replies: 0
avatar
  • KxL
  • Posted: 20 July 2009 06:00 PM

You are not getting the error, which is bad (but normal for python). You should call this like a function:

FBPlayerControl().SetTransportFps(FBTimeMode.kFBTimeMode120Frames)

Cheers



Replies: 0
avatar
  • dwright
  • Posted: 21 July 2009 05:36 AM

Ah, yes, that does indeed work. I thought I’d tried that before, but I guess not-- I reached the point where I was just re-arranging terms and parentheses in the hopes that I’d get lucky.

Wonderful. Thanks much.

--D



Replies: 0