Does possible to execute python script in host app?
If i missed in manual, please point at article
For example HE4C4D has not curve output.
I think about creation and execution pyObject/Script inside host for creation of splines/curves.
import c4d
def main():
spline = c4d.BaseObject(c4d.Ospline)
spline.ResizeObject(num)
for index in xrange(num):
stuff to create structure/form of spline
spline.SetPoint(index, pos)
return spline
example in c4d

http://oi62.tinypic.com/25s1lxv.jpg [oi62.tinypic.com]