algorithmic modeling for Rhino
Hi there,
I have a Python definition set up below and it is returning null. I must be missing something obvious..
I am trying to get python to return one of two lists, if InAngle = 0 then return list B and if not return list A.
import Rhino
import rhinoscriptsyntax as rs
InAngle = x
VariableA = y
VariableB = z
OutOutput = []
if InAngle == 0:
OutOutput.append(VariableB)
else:
OutOutput.append(VariableA)
Thanks for any help!
Tags:
Perfect, thanks Hyungsoo Kim!!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by