From the course: Dynamo 2.x Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using numbers to output other data types

Using numbers to output other data types

From the course: Dynamo 2.x Essential Training

Start my 1-month free trial

Using numbers to output other data types

- [Narrator] In the last video, we looked at how to use Dynamo to perform math functions, taking a few numbers as an input and producing another number as an output. Now we're going to look at how Dynamo can perform a few more mathematical functions but output other data types instead of numbers. We'll start with the less than node, which is in the Math Operator section of the node library. Just like the addition node, this node asks for two inputs, an x and a y, now if we wanted to, we could place two more number nodes onto the canvas, but Dynamo allows the output of a node to be fed into the inputs of as many nodes as we'd like. So let's connect the two number nodes that we already have on our canvas to the inputs of this less than node. I'll connect our five to the x input and 9.8 to the y. If we take a look at the node preview, you can see that the output of this node is a Boolean data type, which again, is either the value of true or false. This node is asking the question, is x…

Contents