Results 1 to 8 of 8
Like Tree9Likes
  • 6 Post By Twiceroadsfool
  • 1 Post By Twiceroadsfool
  • 1 Post By Twiceroadsfool
  • 1 Post By josephpeel

Thread: My Very First Dynamo Graph (no laughing...)

  1. #1
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    7,530
    Current Local Time
    08:55 PM

    My Very First Dynamo Graph (no laughing...)

    My Project template has 9 levels above ground, and 3 levels below. I started doing that years ago, when i watched architects cartoon a large project. It took them FOREVER. (Truthfully, i stop at 9 above ground because over 10 and suddenly some naming conventions need an extra character). While a Dynamo script to go additive would be much more valuable, that would take forever for me to figure out, since im a hardcore n00bie. So, many thanks to some of the Dynogeeks on twitter, for helping me when i got stuck with String.Contains.

    Now its all working:

    All the user has to do is pick number of stories above ground, and below ground. Obviously it maxes out at the number of levels in the Template. It also fails if the Levels are renamed. Its meant to be done right when a project starts. It strips out the levels, all of the views, and all of the sheets, for the levels you don’t want. So if you say 2 levels above ground, and 0 levels below, it deletes everything underground, and all levels at or above level 3.
    Attached Thumbnails Attached Thumbnails My Very First Dynamo Graph (no laughing...)-parallax-team-templateslimmer-01.png  

  2. #2
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    5,151
    Current Local Time
    09:55 PM
    While I appreciate the script, wouldn't it be easier to just open an elevation/section and delete the levels you don't need? It just seems like overkill

  3. #3
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    7,530
    Current Local Time
    08:55 PM
    Deleting the levels deletes the levels and the views. It doesnt delete the schedules and the sheets that had the views on them. And- since my template has 12 levels, with 9 areas per level, there are 750 sheets in the template.

    Personally, i agree with you. I can zip through and delete all the sheets quite quickly. But i was asked (by a client) to put this together, so i did. =)
    cganiere likes this.

  4. #4
    Member Exar Kun's Avatar
    Join Date
    August 2, 2011
    Posts
    189
    Current Local Time
    01:55 PM
    Cool. We have architectural and interiors departments who want quite different things from the template so rather than having to maintain multiple templates I'm looking into a Dynamo script that can be run from the playlist that will slim the template down from a master to one that only has views / templates / schedules etc that are relevant.

    Are Dynamo packages any easier to deploy yet? Otherwise I'd prefer to see what I can do with the standard nodes.

  5. #5
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    7,530
    Current Local Time
    08:55 PM
    Depends who you ask.

    With the toolset im using (from Gordon Price: www.pragmaticpraxis.com) you can sync or mirror things to Roaming App Data at every users login, with ease. So- since the packages are currently being stored there: Yes, packages are quite easy to deploy.

    If youre NOT using a tool like that, i would imagine it still sucks.

    I used Archi-Lab from Grimshaw, for Archi-lab_Grimshaw.Selection.Select to use the "Get Level by Name" Node. Their might be something in the OOTB nodes that does this, and i just didnt find it. But i wanted to select a level based on a name, where the name was generated based on Integer Sliders. You might not need this at all.

    I used Archi-Lab from Grimshaw, for Archi-lab_Grimshaw.Element Properties.Query to use his "String.Contains" Node. There ***IS*** a String.Contains in the OOTB nodes, and it DOES work fine. I had the lacing and conditions wrong. Before someone showed me how to do it, i found this node, which is much simpler.

    I used SteamNodes.tool, to use the Tool.Eraser, for deleting items from the model. People were telling me there isnt a way to delete things without a custom node or a custom script. So either they were toying with me, or you need something custom here.

    Those were the only custom bits i used.
    cganiere likes this.

  6. #6
    Forum Addict GMcDowellJr's Avatar
    Join Date
    December 21, 2010
    Location
    Phoenix, AZ
    Posts
    1,696
    Current Local Time
    07:55 PM
    Quote Originally Posted by Exar Kun View Post
    Are Dynamo packages any easier to deploy yet? Otherwise I'd prefer to see what I can do with the standard nodes.

    Sure. Save the packages to a common folder (eve DropBox I bet) -- its an option when installing packages -- and point Dynamo to this folder. I think, unfortunately, that still needs to be done with the GUI.


    Sent from my iPhone using Tapatalk

  7. #7
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    5,151
    Current Local Time
    09:55 PM
    Quote Originally Posted by Twiceroadsfool View Post
    Deleting the levels deletes the levels and the views. It doesnt delete the schedules and the sheets that had the views on them. And- since my template has 12 levels, with 9 areas per level, there are 750 sheets in the template.

    Personally, i agree with you. I can zip through and delete all the sheets quite quickly. But i was asked (by a client) to put this together, so i did. =)
    Gotcha. I didn't think about all the sheets...

  8. #8
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,001
    Current Local Time
    03:55 AM
    For packages you can also create a Symlink to a network location in the folder where Dynamo expects the packages to be.
    This could work if you want to avoid the GUI.
    I did this for the older versions of Dynamo, before you could set the path, and each user just needs to run a .bat to set it up;

    @ECHO OFF
    @setlocal enableextensions
    @setlocal enabledelayedexpansion




    RD /S /Q "%USERPROFILE%\AppData\Roaming\Dynamo\0.8\packages "
    MKLINK /D "%USERPROFILE%\AppData\Roaming\Dynamo\0.8\packages " "K:\Bim\Dynamo\Packages\0.8"

    (Personally I like to pull the custom packages apart to see how they work and use the code directly, but thats just how I have learned everything technical)
    Last edited by josephpeel; January 11th, 2017 at 02:14 PM.
    amoursol likes this.

Similar Threads

  1. Replies: 0
    Last Post: July 26th, 2016, 11:15 AM
  2. Replies: 0
    Last Post: June 24th, 2016, 01:45 AM
  3. Autodesk University: Develop3D talks Design Graph
    By Autodesk University in forum Blog Feeds
    Replies: 0
    Last Post: January 21st, 2016, 07:45 PM
  4. Is it possible to create a doughnut graph?
    By barry.farmer in forum Architecture - Family Creation
    Replies: 4
    Last Post: January 6th, 2016, 07:38 PM
  5. Replies: 0
    Last Post: November 19th, 2014, 12:45 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
  •