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 / Selected keys
  RSS 2.0 ATOM  

Selected keys
Rate this thread
 
10893
 
Permlink of this thread  
avatar
  • Total Posts: 162
  • Joined: 24 August 2006 03:52 AM

I’m afraid I know the answer, but is there any way I can check if keys in the FCurve editor are selected… I would like to do some operations on selected keys… and not just between and in and out time… I really need to know if a key is selected.

-Johan



Replies: 0
avatar
  • KxL
  • Posted: 15 April 2008 04:00 AM

I remember that I was looking into this already and unfortunately didn’t find a way to get selected keys.

Sorry.



Replies: 0
avatar

Yeah, we too went through the py and sdk manual but did’t find it.
Maybe then you know how to find out how the filter dialog seems to be able to get the in and out point of a selection range? Sometimes it looks like blackmagic in motionbuilder, really.. I just want to retreive some keys in a selection and change some values…

I really have a hate love relationship with MB… so many things are so good, and the exposed py stuff is just terrible..

-Johan



Replies: 0
avatar
  • KxL
  • Posted: 17 April 2008 06:54 AM

Unfortunately:

http://area.autodesk.com/for...n/filter-window-startend/

But maybe write a custom filter in ORSDK ?

PS. Do not hate MB! ;)

Cheers



Replies: 0
avatar

Yeah, we are (well not me really, but a esteemed colleague of mine) already looking into the SDK route… but so far there seems to be no way to get a key selection, only by filter in out point. And I have some specific request to apply a filter to series of “keyframe islands”.
I make let’s say 4 selections, which are then treated as 4 islands and do some operations on them… but it seems this is not possible via py or ORSDK…

I don’t really hate MB, but it’s sometime very very frustrating, that something that is quite trivial in another application or scripting language, is soo hard to do in MB… but you’ll agree with me on this. I really hope they expand the dev team on MB quickly and make it as good as it can be. And hire a person to write a decent py manual.,. with real production examples.

-Johan



Replies: 0
avatar
  • KxL
  • Posted: 17 April 2008 08:28 AM

OK, now I know what you want to do. Yes, even FBFilter in ORSDK will not help you. I will look into this again when I will have a little time.

As for the real production examples, I think that Area could be a place for it. The only need it to share with others!

Cheers



Replies: 0
avatar

Hi,

I am new to area, motion builder and python.

Is there yet a way to get a list of the keys that are selected in the curve editor with python?

..or a way to query if a specific key is selected so that I might loop through all the keys to collect a list of the keys that are selected?

Thanks



Replies: 0