SplineObject from Generic?

On 05/10/2017 at 09:56, xxxxxxxx wrote:

hi there,

anyone with a tip on how to get a c4d.SplineObject from a generic Object (Arq, Helix, etc) ?
without making the original generic object editable...

sure thats around but i couldnt find it...

On 06/10/2017 at 02:11, xxxxxxxx wrote:

You got two solutions (as I know) using YourSpline.GetCaches(), that give you a LineObject, then you can create a SplineObject().
Or you can simply use YouSpline.GetClone() then perform a make editable action.

On 06/10/2017 at 06:04, xxxxxxxx wrote:

Hi,
BaseObject.GetRealSpline() should exactly do what you want.

On 06/10/2017 at 12:53, xxxxxxxx wrote:

Thanks for providing already great answers. Just for the sake of completeness please consider to have a look at BaseObject.GetRealSpline() in the API documentation.

Best, Riccardo