Creating a new Dynamo project using code saved as a text file

Hello, I am a very new Dynamo user. I’m learning Dynamo to help speed things up within my firm. I’ve found an article talking about being able to print sheets from a Revit project in the background without actually opening the Revit model. This will save countless hours.

The person that supplied the article was nice enough to paste his code for everybody to use, however I am not sure what the process is to get the code to work in Dynamo. I’ve saved the file as a .txt file. How can I make this a .dyn file? And does that mean that it will start working, provided it is the correct extension?

Hi @micphillips,

Could you provide an image, link or the actual file/code.

Cheers,
Dan

Disregard, I was able to figure it out. The code presented was for a specific node located in the graph. I simply had to reproduce the graph