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.

Tuesday, December 6, 2016

Override #Revit Interior Elevation’s Crop with #DynamoBIM

This is an update to an existing workflow previously discussed here, http://sixtysecondrevit.blogspot.com/2015/11/framing-interior-elevations-in-revit.html

Basically, it is faster and more stable!

Rhythm.OverrideInteriorCrop

This node takes an input search string of elevation types (interior), a line weight for all views and a Boolean to run.

overrideCrop(revised)

Part of the reason I haven’t updated this in a while is because the workflow was a beast! Initially the node was looking for the elevation marker in every view, seeing if it exists, replacing it and finally committing the override. Now it just finds the crop region as it relates to the interior elevation (investigate the node to see what I finally realized, I won’t reveal it here).

So far I have tested this on a healthcare project that had over 350 interior elevations! It did take a moment to run, but it completed the change!

override

Please keep in mind that this completes this process for all interior elevations in the model. I f there is an interest, I will make a specific one that allows the user to choose sheets.

Have fun!

johnP

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