GUID error for simple rebar bending script

Hello world!

If anyone could help me, I’d be ever so grateful!

I’m trying to write a very simple rebar bending script which feeds, by manual increments, a new point to a list of points and then transforms these as defined by the inputted bending angle for that particular step. Imagine a stepped polyline version of this:

I’m very aware how simple this script could and should be but my attempt is returning an error relating to the GUID parameter. Despite having read forum posts on the topic, I am failing to understand why a list of points created inside a python script isn’t assigned a GUID.

A nudge in the right direction would be greatly appreciated.

Thanks,
Greg

Rebar bending - GQ.gh (10.2 KB)