import c4d
def main():
pos1 = c4d.Vector(100, 0, 0)
pos2 = c4d.Vector(0, 200, 0)
pntcnt = 2
pnts = [pos1,pos2]
spline = c4d.SplineObject(pntcnt, c4d.SPLINETYPE_BSPLINE)
spline.SetAllPoints(pnts)
return spline
Hi Friends,
my simple script here generate a spline in memory.
I want to visualize this now in the viewport. But I don't want to add the Spline as a real object. It should be a kind of guideline.
Does anyone which object/Class could achieve this?
Thanks