<scripting> What does it do?

I’m trying to create a control point (not a keyframe) in a 3Dpath with script… (is this even possible?) and the closest thing I found is this:

func.addCtrlPointAfter3DPath(“columnName”, point, X, Y, Z, tension, continuity, bias);

But the only thing that happens is toon boom freezing when I try to run this thing. The manual is so poor that I have no idea what this line is supposed to do. It says this function creates a keyframe (after a point?), but there is another function for that already.