PDA

View Full Version : How delete key in subAnim Spline?


ektho
04-10-2012, 10:24 AM
Hi all, how delete key in subAnim Spline?
How can I get the keys in the master controller?

Thanks in advenced!

Ektho

MrPingouin
04-10-2012, 02:19 PM
Let's consider you're working with a spline named Line01.

There's a useful command that you should that can help you to find the answer, it's "show", followed by a value you're interested in, it can be a node, a material or whatever. It'll display the existing parameters which you have access to.

show $Line01

.steps : integer
.render_renderable(renderable) : boolean
[...]
.Spline_1___InVec_2 : point3
.Spline_1___Vertex_2 : point3
.Spline_1___OutVec_2 : point3

When your spline is animated, you'll see named parameters at the end of the "show" command output, this is one example of where you can find the keys.

$Line01.Spline_1___InVec_2.controller
Controller:Bezier_Point3
$Line01.Spline_1___InVec_2.controller.keys
#keys(0f, 8f, 15f)
You can look at "Controller Key Functions" section for more information about how to delete keys, etc.

Now, what are you calling the master controller ?

ektho
04-12-2012, 05:31 AM
Thanks MrPingouin for the answer, is very interesting to the "show".
However, I solved with this:

addNewKey Spline[4][8][1].controller i
Spline[4][8][1].controller.value = ...

CGTalk Moderation
04-12-2012, 05:31 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.