With the arrival of Code Blocks in Dynamo version 0.7.0 and later, there are now at least four distinct options for calculating stuff:
The Formula node
(There's a fifth method, too, if you write your own node, compile it, and import the dll using zero-touch import—look for a future blog post!)
Simply put, Code Blocks are the bomb. If you've been following their development through the last six months of pull requests and Dynamo daily builds, you'll know what I mean. There's a lot going on in these little guys, and here is the CliffsNotes version of a how-to guide.
"Where did this come from!?" you ask. Dynamo and DesignScript, a text-b
Ever tried to rotate the background geometry preview but ended up showing a context menu for the nodes? Or tried to pan your graph but realized the geometry navigation is still active? Let's face it, even the most active Dynamo user gets tripped up with these kinds of issues. If you're like me, and you find this frustrating, you're in for a treat.
I have a crap-ton of other stuff to do, and it's sunny outside, but I know that you, dear reader, really really need a slightly impractical bridge to get you into the weekend. So here is my triumphant (and somewhat muttering) return to screencasting: setting out geometry for a fancy pedestrian bridge, from scratch, in Dynamo.