On 07/08/2013 at 05:20, xxxxxxxx wrote:

Simple scenario. I have a B-Spline object with 3 points. How can I count number of intermediate points? If I go to Object->Object Information, I get info about that object, and it says Points 0 (17). I assume 17 are intermediate points.

But how do I get this number in Python?

I tried doing spline.GetSegmentCount(), but I get 0.

Am I missing something? I only need to calculate intermedia points, as if spline was made editable (current state to object). Any ideas?

On 07/08/2013 at 05:38, xxxxxxxx wrote:

Hi Tomas,

You have to use the spline helper class c4d.utils.SplineHelp and its GetVertexCount() method to get this information.