A blog dedicated to tidbits of software information related to the AEC industry. Most tips and tricks are roughly 60 seconds because, "Hey who doesn't have 60 seconds".
*The views and opinions expressed in this blog do not reflect those of my employer.

Wednesday, September 2, 2015

The poor man’s dropdown for #DynamoBIM


Dropdowns are awesome! They enable us to set options for users to toggle between. But currently in Dynamo if you want a dropdown node you are pretty limited. You basically have access to dropdowns in OOTB nodes or you can learn yourself some fancy C# programming.


I present to you, the poor man’s dropdown!

 imageBasically all I am doing is using the built in family types node with my options inserted as types of an empty detail component. The detail component is also named “!” so it is forced to the top.

imageAfter I select the option I want I get the name (as a string) and tie that into my data! IN this example a wall’s mark parameter.


The downside is I can then assign any loaded family type as well. But if we stick to the “!” area we are good. Hacky? Yes. Exciting? Definitely!

Have fun!


No comments:

Post a Comment