20131117

More Dynamo Sample files

Are you looking for more examples of how to wire stuff up in Dynamo?  There is a large collection of samples available on the Github repository that we use for testing the tools and making sure everything still works as we continue developing.

https://github.com/ikeough/Dynamo/tree/master/test


This folder is divided up into core, pkgs, and Revit.

The core functionality deals with nodes and operations that are independent of Revit, things like list management, math, conditional statements.  You may also note that there are samples here that deal with geometry.  These examples are using the Autodesk Shape Manager geometry kernel (ASM), and reflect development we are working on to be able to expand beyond the geometric capabilities of Revit.  This geometry is still pretty experimental, so it does not yet connect up to Revit (although you can export to SAT.)

Pkgs folder is entirely concerned with making sure that the package manager continues to work. You can download any samples here from the package manager anyway

The Revit folder houses samples that are entirely about operations specific to Revit.  Revit solids creation, family placements, view manipulations, etc.  All of these tests involve some amount of interaction with the Revit document.

In theory, we should have samples that reference EVERY node that is available in Dynamo . . . we aren't there yet, but we are working on it.  If you are looking for a particular node and you can't find an sample for it in this repo, please drop us a note.  You need it, and we need a test to cover it.

Thanks
Z

5 comments:

  1. I always read your blog, until now. The Revit/Vasari stuff was useful to architects. The Dynamo stuff not so much.

    ReplyDelete
  2. Hi,
    I'm trying to open the list examples in "../test/core/list/" but i can't load the files, i'm having this error:

    There was an error opening the workbench.
    System.Xml.XmlException:
    '/' is an unexpected token. The expected token is '='. Line 28, position 72.
    at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    at System.Xml.XmlTextReaderImpl.ParseAttributes()
    at System.Xml.XmlTextReaderImpl.ParseElement()
    at System.Xml.XmlTextReaderImpl.ParseElementContent()
    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at Dynamo.Models.WorkspaceHeader.FromPath(String path)
    Workbench could not be opened.
    Workbench could not be opened.
    C:\Users\Manuel\Desktop\Dynamo\core\list\Sort_SimpleNumbers.dyn

    I'm trying to learn the list stuff before asking to basics questions in the dynamo forum ;-)

    ReplyDelete
  3. Mwaraya, what version of Dynamo are you using? I am opening it in one of the very recent builds and have no trouble

    ReplyDelete
  4. Mwaraya:
    Visit https://github.com/ikeough/Dynamo/issues?state=open and http://dyn-builds-pub.s3-website-us-west-2.amazonaws.com/ .

    ReplyDelete
  5. David Whitehill:

    Visit http://www.theprovingground.org.

    ReplyDelete