DesignScript Define Function

Hi all,
Please excuse me if this seems to be a really dumb question…
Can someone shed some light on me of how to convert the code below in the screenshot into a function using designscript?
I did read the designscript guide but pardon me that I just couldn’t wrap my head around this one. Thanks heaps!


Cheers,
Jamie

So I just figured it out… I’ll have to specify the argument type. For anyone who might have the same question, check the screenshot below.

1 Like