Another definition question - elements

Cannot work with elements in definitions. What am I doing wrong? :frowning:

Are you in Dynamo 2.0 or 1.3.x?

2.0

Then the definition have been changed from “Return = x” to just be “Return x”

1 Like

Works now! Thank’s Jonathan!

For further knowledge of what have been changed I can recommend reading below post by @Racel :
http://dynamobim.org/to-dynamo-2-0-and-beyond/

2 Likes

FYI @robert.ek and @Jonathan.Olesen

Both return x and return = x are supported in 2.0

It looks like the issue with your functions above are because you have Return (notice the uppercase R). Return is not recognized.

1 Like

Also, just curious, @robert.ek - did you not get a warning when you tried to run your graph? If so, can you screenshot it?