Have you ever wondered how to convert a Revit macro into an addin? You can follow Harry’s steps over at this post.

What about getting some sample code for Python and Ruby Revit projects? From AEC DevBlog:

… the code examples are hidden in the default macro projects created by macro manager, see below image, the project is the default python project, there are several “if False” statements, if you remove the line of “if False”, uncomment and unindent 4 spaces to methods below it, the methods will become available macros and appear in the macro manager, and you will see the same “if false” in Ruby projects too:

How to find python macro exmaples

Original post: http://adndevblog.typepad.com/aec/2016/03/revitapi-how-to-find-code-examples-for-macro-of-python-or-ruby.html

You may also be interested in the Revit Python Wrapper here http://revitpythonwrapper.readthedocs.io/en/latest/

I experienced an issue where some Windows 10 updates broke my favourite screen clipping tool, OneNote. Typically I’m using it all day long with the Winkey+Shift+S shortcut to send screenshots to OneNote. Is yours broken too, perhaps by Windows replacing it with the built in clipping tool? Here’s how I fixed mine:

Disable the Global Windows + S Shortcut Key

Another workaround is to disable the global shortcut key Windows + S. Follow this how-to article or make the registry changes using command line:

  1. Press the Windows key + X to open the WinX menu, and then click “Command Prompt” or “Windows PowerShell“.
  2. Copy the following command and then paste it into the command line. Press Enter.
    reg.exe add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v DisabledHotkeys /t REG_SZ /d S /f
  3. Reboot your computer and OneNote screen clipping shortcut key should resume to work.

from https://www.top-password.com/blog/fix-onenote-screen-clipping-shortcut-not-working-in-windows-10/

There are a whole lot of paid and open source tools out there for photogrammetry (turning photos into 3D models), and it is easy to get lost. I found a very detailed post by Jesse over at We Did Stuff. While it is a pretty old post, it still has lots of little tips along the way and if you are starting out with some photogrammetry workflows (like in Recap Photo), then this post is worth a read.

 

Here is a short excerpt:

Read the whole post:

http://wedidstuff.heavyimage.com/index.php/2013/07/12/open-source-photogrammetry-workflow/

Oh, and while we are talking about open source point cloud tools, have you had a look at CloudCompare?

 

While most of us are buying VR tech and making it work nicely, AR (Augmented Reality) solutions are becoming more viable and more mainstream. Did you know that you can download and use emulators to assist you to develop augmented and mixed reality apps? Check out the links below:

HoloLens Emulator:

https://developer.microsoft.com/en-us/windows/mixed-reality/using_the_hololens_emulator

Mixed Reality Simulator:

https://developer.microsoft.com/en-us/windows/mixed-reality/using_the_windows_mixed_reality_simulator

BIM always makes sense for Healthcare projects, and in my opinion BIM will eventually make total sense for FM and Building Operations.  I am deeply embedded in a few projects that are spanning across BIM, FM and Healthcare, and so I was especially interested in this whitepaper:

First Steps to Successful Deployment of BIM for Healthcare Operations

One particular comment really resonated with me, and I have copied it here below:

As Meghan Ruffo, contract BIM manager, Carolinas Health System, points out, tools can be added over time to process additional data. “Don’t think you have to have a perfect system set up to get started,” she advises. “Say you don’t have a space management system that integrates with Revit yet. You can still capture that information, and when you do implement that tool you will be ready to go.”

You can get the full whitepaper here: Download link

Aconex is a CDE (common data environment) used a lot through some regions for managing AEC correspondence. It is also used to register and share some BIM-related files and documents, although I don’t personally think Aconex is a great tool for that particular job.

In any case, if you are using it regularly it makes sense to automate the process. RTV have built a tool that allows you to connect with Aconex, and publish and transmit documents through the official register.

You can get it here:

Direct link

or

https://www.rtvtools.com/product/rtv-aconex-uploader/

Just fill out the form and checkout, and you will get a link in an email. The current version is RTV Aconex Uploader 2017. You will be able to activate the software for free.

Edwin Prakoso over at CAD Notes recently posted a few tips on how to make your Revit presentation views look more engaging and interesting. Here are my top 4 from his top 10:

  • Use ambient shadow. It gives more impact … and makes sure your view doesn’t look flat.
  • Use sketchy lines. Hand drawing images often look very artistic and interesting. You can achieve the similar effect by using this option.
  • Enable Smooth Anti-aliasing. It gives great impact when you use sketchy lines option.
  • Use background color. You can play with the background color to make it stand out.

One that I would add would be to add a little bit of Transparency. See some example settings below:

Image by What Revit Wants

 

Image from CAD Notes

Source post: https://www.cad-notes.com/10-revit-hacks-to-make-your-revit-view-compelling/

Do you have any tips to make your Revit views look better? Feel free to comment here.

If you try to build a connector to get some Revit data to a database like MySQL, you may hit an issue where some strings that are allowed in Revit will do funny things to your SQL instructions, like this:

What to do? We need to ‘escape’ these characters during our data export or INSERT to create something that the database engine can consume. There are some exotic ways to get around this (like encode your text in base-64), but in my case I just wanted to replace the problem character with the escaped version. Ideally, we would use characters that we know will never be found in Revit Type or Family Names.

Revit does not allow these characters in most type and family names:

Looks like a backslash could work, as this is an escape character in MySQL, and it is not allowed by Revit as above.

You can do this a lot of ways in various coding languages, but an easy way is with a String Replace in Dynamo, like:

This workaround doesn’t handle every situation – like if you are pulling parameters out of Revit that contain all kind of characters, you may have to look at a more reliable text cleanup or encoding solution. But this helps with the Type and Family names at least 🙂