Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 4 of 4
Like Tree3Likes
  • 3 Post By amoursol

Thread: Thoughts on node/graph cleanup

  1. #1
    Member ryntau's Avatar
    Join Date
    October 11, 2012
    St. Louis
    Current Local Time
    10:26 AM

    Thoughts on node/graph cleanup

    I'm working on a dynamo graph that utilizes the same dozen data points in different ways and I found myself getting annoyed with all of the wires going everywhere. I ended up created a code block that passes all of the data through it, much like a zip tie holding together a bunch of cables going to the same place. Each of the purple blocks on attached image are exactly the same, so there is some duplication, but i find it helps because i don't have to pan as far to wire the data. I was wondering if anyone does something similar or if there are other methods you have cleaning up and make things look organized.

    I've attached two images, one was in process of cleaning, and the other is the finished result.
    Attached Thumbnails Attached Thumbnails Thoughts on node/graph cleanup-cleanup.png   Thoughts on node/graph cleanup-cleanup02.png  

  2. #2
    jmk is online now
    Forum Addict jmk's Avatar
    Join Date
    December 31, 2012
    NM, USA
    Current Local Time
    11:26 AM
    I've used something similar several times, to collate info going through nodes, or as a repeater to prevent leads going through other nodes (especially when something from my user input node isn't needed until late in the script)

  3. #3
    Join Date
    March 21, 2013
    Phoenix, AZ
    Current Local Time
    10:26 AM
    I use this method very frequently now. I was using the inputs of custom nodes for that purpose, but quickly found that there's no viable way to debug in the custom node editor.

  4. #4
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    London, United Kingdom
    Current Local Time
    06:26 PM
    In all honesty, if there is even a semblance of re-use (Or even not), it's often really good to package up together a set of nodes into an in-house package. That way, if it's doing a whole bunch of calculations it's zipped up in a way. It cleans up the graph a lot.

    Alternatively, you can use code blocks or wrap functions into python.

    My general rule of thumb (increasingly) is that if there is a single input and a single output to a whole bunch of stuff - wrap it up!

Similar Threads

  1. Replies: 7
    Last Post: January 13th, 2017, 11:41 AM
  2. My Very First Dynamo Graph (no laughing...)
    By Twiceroadsfool in forum Dynamo BIM
    Replies: 7
    Last Post: January 11th, 2017, 01:06 PM
  3. Replies: 0
    Last Post: June 24th, 2016, 01:45 AM
  4. Autodesk University: Develop3D talks Design Graph
    By Autodesk University in forum Blog Feeds
    Replies: 0
    Last Post: January 21st, 2016, 06:45 PM
  5. Is it possible to create a doughnut graph?
    By barry.farmer in forum Architecture - Family Creation
    Replies: 4
    Last Post: January 6th, 2016, 06:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts