How to open a param's fcurve

Discussions concerning programming of SOFTIMAGE©
Post Reply
jacobo
Posts: 41
Joined: 11 Jun 2009, 00:06

How to open a param's fcurve

Post by jacobo » 26 Aug 2013, 23:23

Hi;

My client asked me to add a button that'll open a separate fcurve editor in which the animated fcurves of a specific param will be displayed. Much like right clicking on the vidget of a param and choosing "Animation Editor", instead you click a button on a custom PPG. I browsed through the SDK guide, but couldn't find anything relevant. Does anyone have an idea as to how this could be accomplished?

Thanx in advance and cheers;

AJ

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: How to open a param's fcurve

Post by EricTRocks » 26 Aug 2013, 23:29

Look into creating "View" objects and SetAttributeValue for the FCurve editor's view type. Probably looking for the "displayedcurves" attribute.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests