GhPython Node to Code - Loft: input 2 options. error: Data conversion failed from Text to Loft Options

I have tried to solve this and is unable to. Anyone with understanding of GhPython, node to code and lofting?

Thank you.:slightly_smiling_face:GhPython Node to Code - Loft (5.3 KB)

@Alain do you think you could have a look?

The problem is that in your script the function:

loft = ghcomp.LoftOptions(True,False,0,0,0)

returns a string instead of the expected type LoftOptions. I’m investigation the problem but you could consider using the rhinoscriptsyntax AddLoftSurface function instead.

Hope this helps

Thank you, rhinoscriptsyntax AddLoftSurface is a suitable alternative.

RH-48617 is fixed in Rhino 7 Service Release 9