Friday, August 17, 2018

Quick Way to Identify BIM360 Local File

I stumped on this the other day and thought it is interesting to share. If you have ever worked on any BIM360 (C4R) project, you should know by now that your local file resides on a hidden location other than your default Revit location.

From time to time, if you have sync issue between your local file with the central, you can run into issue where your local file gets corrupted. Autodesk has a KB article to walk you through the process of clearing out the local file. In this hidden location, your local C4R file does not resemble your actual file name; instead, it is named after some GUID number. In other words, you can't just find your corrupted local file and get rid of it. It takes some trial by error to clear out this folder when I first encounter this issue. From the KB, it tells you to open the journal file to determine the filepath of the damage model. I can tell you if you have never understand how to read a journal, this is going to be a tedious process. **You can however always clear everything inside the local cache but sometimes you can't afford to do so if you have a few projects working concurrently.**

The following tip might offer a quicker way to get to the damage model without opening the journal.
Reminder: You are doing this at your own risk!

In the event you have a corrupted local file. Go to Open --> file --> BIM 360, select your project hub folder and hit ENTER on your keyboard. Revit will prompt you with an error "BIM 360://your project hub name/......... File not found. Please verify the correct file name was given."

The one that starts with "{" and ends with "}" is the local file folder of your model.

Next, go to your window explorer and locate your user local data folder such as this:

%LOCALAPPDATA%\Autodesk\Revit\Autodesk Revit 20##\CollaborationCache

*Make sure you locate the correct Revit version.*

From there, your will see the same folder with the exact name ......

Go ahead to either move this folder out of this location or I normally just rename to a different name. Revit will then generate a "New" local file when you try to open the model again.

Hope this helps.
Happy syncing!

Sunday, June 3, 2018

Getting Rid of Stubborn System Family Using Revit Lookup

It all started with a tweet posted few days ago. Kieren Porter (@snowyweston) posted an image about some nasty system family type in the project.

It got my attention simply because I was in the middle of dealing with the exact same issue from one of my projects. I have been told this is a known issue by Autodesk and it is fixable. However, it was going on for weeks to try to have their support team to resolve the issue. 

So, what's the big deal, you might ask!? For some unknown reasons, these "rogue" family types starting to come up from nowhere and it created many types of tick mark, dimension style and text style on its own. All of a sudden, you have these non-company standard styles in your file, it really becomes an annoying issue. 

There is a number of ways to get around these issues, you can rename these dim style with "z" "Do no use" so user will avoid using them. Some dim styles can be purged using "Purge Unused". To get rid of them once and for all, it is not as straightforward. The reason being is that they are system family buried deep down in the Revit file, you can find the instance of the elements but its type will stay within the file.

From the same thread, people have responded with a few solution. Some said to use #dynamoBIM like John Pierson or using a 3rd party solution like Ideate explorer. **(For the record, I have not tried these yet as of the published post)

Out of my curiosity, I thought this could also be done using Revit Lookup.

I was introduced to Revit Lookup by my previous colleague like a year ago. Initially it was for me to understand how Revit organizes each group/type of elements under the hood.

To troubleshoot the issue, I first place a "rogue" type of dimension in a view (it can be any view including drafting view). Select the dimension (or the element), go to Revit lookup and choose Snoop Current Selection.

It reported a list of information associated with this element, it looks something like this...

2 items are important to know:

Id - which is the Revit element ID   (Instance)

GetTypeId - which is the Revit family type element   (Type)

Usually, it is the type ID that is "under the hood" so user would not normally get to it.
Now that I identify the type ID for this rogue dim style, I can use Select elements by ID from Manager tab

Type the type ID number in the field, once it is selected, hit Delete! It prompts me with a warning, hit OK. 

That's it! It is gone for good. (Hopefully)

Like I mentioned above, there are more than one way to resolve this issue, I thought this might offer a different approach.

You can learn more about Revit Lookup from this site to download the tool for yourself and it is free.

From Github

Revit Lookup Builds from 2015 -2019

Sunday, January 21, 2018

Making of Holiday Card - Part 1 (Christmas Light)

Happy New Year 2018! I have waited long enough to start this post to share the making of my holiday greeting card in Revit. I will choose a few components from the scene and I am going to break it down to a few posts. The first one is about the Christmas string light. When I first posted this close-up image, I have a few people asked how I managed to place so many lights. Did I place them one by one? How do I get them on the roof?

Of course I didn't place them one at a time. In fact, I talked about this trick when I presented at RTC North America 2016 (now re-brand to BILT). My class title named Railing, Railing, Railing was about the railing improvement in Revit 2017. (i.e. One could host railing to the top of the wall, floor and roof, etc.)

In the class, I showed some possible use of railing (other than the actual function of railing) in a Revit project.  I talked about how to "hack" the railing support family

The idea is pretty simple. You start a new support family, insert the light fixture as nested family.
Make sure the nested light is set to "Shared".

From the nested light, I have different types family set as different colors. This is to allow me to change the colors of lights in the scene. I wrote this post in 2014 explaining how to use this conditional statement to drive different material which allows me to change to variety of colors. 

Next, I create a new railing type that has no railing profile, baluster; only a Handrail Type. This handrail type has a profile family (Profile Round String: Radius:1/8") that mimic the light's cable; A support family assigned with fixed distance 4" spacing. 

Once this is done, I can place it like any railing. It looks something like this:

Using Pick New Host, I can easily place the light (railing) on the roof. 

Select the light, use array to copy a dozen of times. 

Here's the problem. All the light bulbs are the same color. Since I made the nested light family "shared", I can select each light one at a time to change the color. But who has time for that?

It's time I turn to Dynamo for help. I pulled up an old script I used to randomize material in this post and modified it a bit. Good thing is the Family Types node includes railing support.

Ran the script and I am good to go.

This is what it looks like with night setting in Enscape.

Stay tuned for the next post! Thanks. 

Thursday, December 21, 2017

Season's Greetings 2017!

Another year has gone by fast! I wish all of you have a Happy Holiday and Happy New Year in 2018!

To follow my tradition, I have been working on this holiday project on the side. It has been a good learning experience this time using both Revit and Enscape. It is definitely changing the way I use Revit as design and rendering tool.

Detail close-up

Night scene with signage lights on

I want to specially thank my colleague Carina, Aaron, Keith and Joe, who inspire me and help me on this project.

There is more...
If you want to see more of what is done in this scene, check out the links below!

Enscape .exe file

Download the exe file. Simply double-click the file to open it. There is no need to launch Revit.

Stereo Panorama

Stereo Panorama can be viewed via web browser (Chrome recommended) or your phone. It will work if you have a Google Cardboard too.

I am planning on doing a write-up on the "Making of this Revit project". Stay tuned!

Tuesday, March 14, 2017

Wall Opening - What's New?

I stumped something new just few days ago as I have never paid attention to the native opening tool in Revit. I wrote this post back in September 2015 about some common methods I use when it comes to creating openings in Revit. Wall "opening tool" is one that is easy to use but has limitation as well as issue with room bounding detection.

What's new in 2017 version is you can apply wall opening while you have the wall selected. It works in both Curtain Wall as well as Basic Wall.

Wall Opening icon is in fact available in Revit 2017. The very same icon was always there but it used to be grayed out in the previous versions.

I am not even sure if Autodesk documented this "improvement" in Revit 2017.

With this easy access to the tool, you can insert an opening to curtain wall more efficiently. I am not a big fan of using this tool but it is quite handy if you need to apply opening to Curtain Wall.
Hope you will find it useful. 😉