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.
Showing posts with label DynamoPlayer. Show all posts
Showing posts with label DynamoPlayer. Show all posts

Monday, December 5, 2016

Color Picker in #DynamoBIM using #Revit API

For a long time now I have wanted to look into building a color picker for Dynamo. Primarily because the previous package I utilized, hasn’t been updated for the latest version of Dynamo. This was of course the great UI++ package from the badmonkeys. (This package is awesome by the way. Adam, please update with Konrad’s code ASAP Smile)

After much research and investigation, I stumbled upon this API method in the Revit API.

image

This was a revelation! Finally I can create a color picker without importing a bunch of Python libraries. Even better is, that this supports Revit color output as well.

I can’t wait to see what people use this for, especially with mandrill and dynamo player.

colorPicker

Have fun!

-johnP

Tuesday, November 29, 2016

Rename #Revit Views with #DynamoBIM Player

Since Dynamo player launched a few weeks ago, I have been having a lot of fun with it! Mostly because Python nodes support User interface additions!
Recently, a colleague needed to rename elevations based on level and room location. Very quickly I realized this needed to be done by isolated the elevation heads (views).
That’s when I went ahead and created this little gem (now available in Rhythm).
Isolated Pick Model Elements
This node allows the user to pick a category to isolate, and select objects of that category by a crossing window or individually.
And here it is in action with Dynamo Player.
dynamoPlayer-renameElevations
Have Fun!
-johnP