Notifications
Clear all

[Closed] How delete key in subAnim Spline?

Hi all, how delete key in subAnim Spline?
How can I get the keys in the master controller?

Thanks in advenced!

Ektho

2 Replies

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 ?

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 = …