Skip to main content

Posts

Showing posts from 2017

Does the parameter exist?

I'm back after a while with a new article on Dynamo. This time I'll try to explain how to check if a list of parameters are available in the project. This can be used as starting point to QA a model against a pre-defined template. The idea is pretty simple: we need to extract all the parameters from the model and to do this we list all the elements of type "ParameterElement". You'll get the list of both shared and project paraemters in this way. Then we can extract the paraemters names and create a list of paraemter that we want to check (this list can be also an input from Excel). Whit a simple Python script that compares all the parameters name, agains the list of predifined parameters, we can easily extract two lists: the first is the list of matched and the second is the list of unmatched. This is the python code. import  clr clr. AddReference ('ProtoGeometry') from  Autodesk.DesignScript.Geometry  import  * #The inputs to this node

DynaTools is out!

Since long time I was thinking to create some custom node for Dynamo and now, that time, came. Starting from very simple lines of code, to understand the structure of the ZeroTouchNode (https://github.com/DynamoDS/Dynamo/wiki/Zero-Touch-Plugin-Development), I've finally released my first packege called DynaTools . Ok, the name is not very cool but I didn't spend too much to find it. So let's start with a little explanation of each node. First of all, the package is developed on Dynamo 1.2.1 but I'll compile soon for Dynamo1.3.0. You need to search and download the package to be able to use it :) Then this is a complete list of nodes included in the latest release (not that much nodes but I promise, they'll increase!) CollectorTools Collectors A bounce of nodes that collect categories (mostly MEP) with useful parameters Collectors.CableTray : collect all cable trays in the model  Collectors.Duct : collect all ducts in the model Collectors.

Dynamo, Revit, Excel, UI...what a wonderful day!

Introduction Today I'll show you two examples of how to use Dynamo to export existing Revit schedules and how to compose a custom schedule on the fly, to be exported to Excel. Both of them with a very nice graphical user interface thanks to Data-Shapes (https://data-shapes.net/) package. Export Schedules Let's start from the easier. The idea behind this script is to export a list of existing schedules to an Excel file, creating for each schedule a separate tab. To be able to complete this script you'll need two packages: Data-Shapes for the graphical interfaces BimorphNodes to extract schedules data The script is very easy and you have to focus only on how to create an interface Then you can use your input to feed the next nodes. Finished! So just push the run button (or use Dynamo Player is you are in Revit 2017.1 or 2017.2) and enjoy the interface. Export parameters to Excel In the second script I'll focus on something more int

Place doors clearance box with Dynamo

This simple script is really useful when you need to create some clearance box in front of the doors, to be sure that you're not clashing with other elements. You can easily export this box to Navisworks and create a clash test or, you can simply coordinate within Revit. DYN RFA

Change fittings level and offset with Dynamo

This is and old story for Revit: when you try to change a level for a pipe, duct or cable tray, the offset of the element changes automatically to adapt to the new selection and the element doesn't move from his location but, when you try to do this with a fitting, this is another story. All the system connected to that fitting will move to a new location. Actually what happens is that the level is changing but the offset is still the same. Here a small script to prevent this. Is only for pipe fittings but you can easily adapt to other types of categories with the same issue ;) Download the  DYN  file for Dynamo 1.2.1 and enjoy!

WIP - How to keep linked schematic diagrams with 3D model

This is something I'm thinking since long time and finally I've some work in progress. The idea came from a very useful plugin I've in my army: Parameter linker from RF Tool (http://www.rushforthprojects.com/) Now with the power of Data-Shapes nodes, some Python and Dynamo player, is very easy to create user interfaces with inputs so, I prepared this small video with my WIP. As always when ready, I'll share scripts and tutorials! Cesare

Autodesk Live and Revit: do you really need 3 clicks to get your model live?

This week I would like to present something not really technical but something that is becoming attractive for most of the clients: VR! Autodesk as always, is one step ahead all other companies and, couple of months ago, after the official release of Autodesk Stingray, presented a new technology platform Autodesk Live. This platform is based on the same technology of Autodesk Stingray but is mostly dedicated to Architectural visualization from a Revit model. So, let's try if it really simple as Autodesk says. Prepare the model After you download and install Autodesk Live, you'll find a new button in Revit addin tab called "Go Live" ( first click ) You don't have to prepare the model in such a different way, because Autodesk Live is able to read linked models from you actual revit file and compose everything in a federated live model. Most probably what you'll receive is an alert saying that is model has more than 10.000 elements visible and that p

BIM Track™ - Model coordination made easy in few clicks

Generally I'm not used to give reviews and presentation about particular software but, this time, I would like to share some personal feedback about this great platform. Model management When it comes to manage big models, big teams and coordination reviews, you need definitely a platform to track all the changes.  Navisworks is able to manage reports and changes between different stages of the project but, is not able to provide information to each single user directly inside Revit and, of course, is not able to provide a professional cloud platform for Managers to track the progress of models coordination. When first time I faced this problem, I realize that we need a professional environment to manage this workflow and I started to try different ways. First I tried with couple of Dynamo scripts to visualize clash spheres in Revit (based on XML clash reports) combined with Excel Worksheets but this is not very user friendly (at that time we didn't have Dynamo Player