Re: FCurve Editor SDK?

2013-08-29 Thread Michael Heberlein
The siFCurveCategory way this is what I'm doing now. I'll post the plugin here if I get everything working. Thanks all! On Thu, Aug 29, 2013 at 8:46 PM, Michael Heberlein wrote: > Hey Walt! Cool, I didn't know this mode. It looks more like a lattice > effect but may be handy in some cases. Chee

Re: FCurve Editor SDK?

2013-08-29 Thread Michael Heberlein
Hey Walt! Cool, I didn't know this mode. It looks more like a lattice effect but may be handy in some cases. Cheers :) On Thu, Aug 29, 2013 at 6:10 PM, wavo wrote: > Hello Michael :-) > > Its not exactly what you need and I guess your version will be smarter but > did you also try the HLC(Hig

Re: FCurve Editor SDK?

2013-08-29 Thread Stephen Blair
Yes, there is: the FcurveEditor command category: siFCurveCategory Category of commands which operate on fcurves and appear in the Edit menu of the fcurve editor. They cannot be invoked from Scripting. They take a single argument which is the FCurveEditor context object So you would do somet

Re: FCurve Editor SDK?

2013-08-29 Thread Luc-Eric Rousseau
isn't there a command-based way to hook into the fcurve editor for other versions, stephen? can't find referneces to it in the doc On Thu, Aug 29, 2013 at 10:58 AM, Stephen Blair wrote: > On 29/08/2013 10:49 AM, Michael Heberlein wrote: >> >> I'd like to add a custom menu to the FCurve Editor tha

Re: FCurve Editor SDK?

2013-08-29 Thread wavo
Hello Michael :-) Its not exactly what you need and I guess your version will be smarter but did you also try the HLC(HighLevelEditing) Select the Curves then change in Fcurve-editor to "Absolute Scaling" and now you got a New Fcurve ,controlling th

Re: FCurve Editor SDK?

2013-08-29 Thread Martin
You can get the selected FCurves with FCurveSelection. Then all you would have to do is get the keys values, find the average value and move your keys. adapt the tangents to keep your curves would be a little problematic, but for something linear it shouldn't be that hard. Martin On Fri, Aug 30,

Re: FCurve Editor SDK?

2013-08-29 Thread Eric Thivierge
Ah, I got you. grab all of them and act on the keyframes relative to each fcurves average's not all together. I've wanted that interaction forever. Would be nice if the Devs could implement this by default. Good luck on implementing it. I'm sure it's doable. On August-29-13 11:56:51 AM, Michae

Re: FCurve Editor SDK?

2013-08-29 Thread Michael Heberlein
Here's a dancing fcurve gif of what he wants. Am i an animator now? ;) If it's already possible and you know the magic button to press, that would be perfect! [image: Inline image 3] [image: Inline image 4] On Thu, Aug 29, 2013 at 5:29 PM, Eric Thivierge wrote: > Works on multiple for me. >

Re: FCurve Editor SDK?

2013-08-29 Thread Eric Thivierge
Works on multiple for me. On August-29-13 11:16:30 AM, Michael Heberlein wrote: Eric, yes they know the Q tool but if I got it right, this only works for one curve at a time and not with multiple curves. Stephen, I was searching the 2012 docs and it looks like these anchors were introduced in 2

Re: FCurve Editor SDK?

2013-08-29 Thread Michael Heberlein
Eric, yes they know the Q tool but if I got it right, this only works for one curve at a time and not with multiple curves. Stephen, I was searching the 2012 docs and it looks like these anchors were introduced in 2013? I should have found the FCurveEditor page though ;D thank you! Cheers, Michae

Re: FCurve Editor SDK?

2013-08-29 Thread Stephen Blair
On 29/08/2013 10:49 AM, Michael Heberlein wrote: I'd like to add a custom menu to the FCurve Editor that provides easy access to features like, for example, absolute/relative pasting (hidden in the preferences) but had no luck again: There's no appropriate menu anchor point available. Wouldn'

Re: FCurve Editor SDK?

2013-08-29 Thread Stephen Blair
FcurveEditor ? http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=si_om/FCurveEditor.html,topicNumber=si_om_FCurveEditor_html On 29/08/2013 10:49 AM, Michael Heberlein wrote: I could not find a way to get the selected curves and keys via scripting or the SDK.

Re: FCurve Editor SDK?

2013-08-29 Thread Eric Thivierge
Do they know about the Q tool in the FCurve editor? You can access the selected fcurves I believe from finding the FCurve editor View object from the Views collection. Then you can use the GetAttributeValue for the selected fcurves (look up in the docs for the correct argument to pass). On

FCurve Editor SDK?

2013-08-29 Thread Michael Heberlein
Hey gang, I would like to write a simple tool that locally scales selected keys from multiple fcurves (relative to each curve's start/average/end value), as one of our animators convinced me it would speed up his daily work alot. Is this possible at all? I could not find a way to get the selected