Archive

Code

  • Hello Dynamo World!

    In learning every new programming language, it is customary to start with a “Hello world!” application. Although visual, Dynamo is a scripting tool as well, so I thought this would be a great first step for folks who are new to Dynamo. In this post, we demonstrate how to display “Hello world!”  in the Revit…

    Hello Dynamo World!
  • Copy a Legend to Multiple Sheets in Revit

    The good folks over at Boost Your BIM have posted a macro for copying a legend to multiple sheets. It works really well, but I wonder if anyone would like to take on the challenge of doing something similar in Dynamo. public void legendOnSheets() { Document doc = this.ActiveUIDocument.Document; // create list of element ids for…

    Copy a Legend to Multiple Sheets in Revit
  • How to get a nested list item by index in Dynamo (the easy way).

    I found a super simple way to get a nested list item at index using Design Script using a single node. The Code Block in the example: x[0][33][1]; Where: x      =  Input for your list [0]    =  Parent List [33]  =  The nested list item #1 within Parent [1]    =  The…

    How to get a nested list item by index in Dynamo (the easy way).