Monday, 13 June 2016

Collaboration for Revit and autocad files

Everyone should know that the optimal number of DWG files in your Revit project is less than 1. That being said, it is quite often unavoidable to link dwg files in your Revit project files.

It has been said many times over that you should never import DWG files. Technically linking DWG files is only marginally better than importing DWG files. That is because Revit will 'import' a DWG files if you link it. The only difference is that you will be able to: Reload from, Reload, Unload Import and remove the linked DWG file.

When you want to link in a DWG file you may only do this from a local or network drive. You can't link to the A360 team site. (or any other internet site) If you are working on a Collaboration for Revit project you can link DWG files just like you would normally. Your collaborating team members may get to see a dialogue box when they open the project telling them Revit can't find the linked DWG file.

Consider the following setup. Create a separate Revit project file which you will us to link the DWG files you need. Be sure to link the dwg files with current view only and be sure to place the DWG file on the correct view. After you have done so initiate Collaboration for Revit. This RVT file now gets uploaded with all the DWG files in it. If you link this RVT file into another project file you can make the DWG files visible. (It's good practise to place a linked RVT files on specific workset. I have placed this link on a workset called LINK_DWG) You or any of your collaborating partners will not get the warning: can't find linked DWG files.
To make the DWG files from the linked RVT file visible in the Host file you have to do the following.
Open the view in which you would like to see the DWG file from the linked file. Go to visibility and graphics --> Revit links --> Basics --> set to custom --> and set the linked view.
( in the image you see that I am linking to the view 15-level. Later I realised that it might be better to name the view after the DWG file that I have placed upon it)
Next go to the Import categories and check the DWG file that you want to see

If you click on the plus sign you will be able to turn of layers or apply overrides

The additional benefit of this is that all the main Revit project files stay clean of DWG links / imports. This is good for performance.
If you place the linked RVT file with all the DWG files in it on a specific workset than it's also easy to not load this when you are opening the project by simple not opening this workset. This is good for performance.
If you are collaborating with other companies than you can share the DWG information without you having to send them the DWG files separately.

If you want to have a look at the file send me email and I'll invite you to my hub.


Monday, 16 May 2016

Revit and Fillets


If you were thinking about these when you read this title then I suggest you go and have dinner first.

If you have ever played around in the family editor and you have tried to create a filleted shape in Revit you know you have a few challenges to overcome.

Let's say you would want to create a triangular column with some filleted edges. See image below, the filleted edges, on one side, are numbered.

From close up this would look like this.
If you create this shape in Inventor or Fusion it is relatively easy. (btw I have had some interesting results in FormIt as well)Here is my very simple Inventor column with fillets. But I have moved the end of the part before the fillets.
If you export the column, you can create a sat file without fillets. (I will use this for either a medium or coarse level of detail)
Move the end of the part after the fillets and export the shape again with a new name and you have a SAT file with fillets for the fine level of detail.
Import both SAT files into a Revit structural column template. Explode both SAT files and next assign visibilities to the two shapes. 

If your column does not have to be parametric this works fine. If you do need it to be parametric than I am going to refer to my next blog post. The SAT files without the fillets can be constrained to p.e. the level quite easily. The filleted shape doesn't want to do it for now. But there are other methodes for this. More later.



Wednesday, 20 April 2016

Searchsets with ID's

Recently I was asked why does Navisworks list certain property values several times? I know that it does but somehow in my workflow it has never bothered me. Or I never took the time to sort of find out what is happening.

When I was asked about it, I knew that the person was using Revit files made by different years of Revit. I started creating some simple files in Revit 2014, 2015 and 2016. Created the nwc out of Revit and appended those to Navisworks. But it's not the different file versions that create this in Navisworks.

The issue I am describing is when you are in the Find Items window ( in Navisworks) and you are creating a searchset. Notice the double Base levels at #4 (and all the others) If you would select one of the Base Level and add the condition: Equals than the values might be different than what you expect.
If you go to the selection tree and switch that one to the properties --> goto element --> Base Level. You will see that these properties include the Revit ID of the element. Quiet some years ago when I started creating searchsets in Notepath++ I noticed those ID's as well. If you want to create searchsets that work over multiple projects you have to stay away from searchsets that have an ID included. 

Most of the time you can find exactly what you want but look at other properties.
When I am creating searchsets I tend to do the following.
  1. Select the element you want
  2. Look at it's properties
  3. Look at the different tabs to find a property you can use
  4. If you didn't find what you want browse up and down the selection tree until you do.
In the next image you see that the property base constraint has an ID in the value field. If I need to find elements by base constraint I would not use this in the find items window. 
Notice that there are many property tabs for this element. I would browse all the tabs to see what other properties there are that don't have that ID. In this case it's easy and there is a tab called base constraint that has a property field; level and a value without an ID. I would use that one. 

The searchset would look like this. 
There are quite a few other peculiarities when you append Revit files made in different years (versions) I'll try to blog about those later.

Wednesday, 16 March 2016

Filters

Quite often when I am analysing files I see filters being used for turning on / off Revit categories. For me that just seems very odd. But since I see it in many files I might be missing something. If you have a good case for the following please let me know.
For example I encounter filters like these. A filter that targets doors but has no filter rules.
Here the filter with visibility on
Here the filter with visibility off
But why not do it here. (In my mind this where you turn off entire categories)
In my mind filters where ment to make distinction possible base on property values. For example here a couple of filters that colour walls based structural functionality.

(I know that the name Walls Structural non Bearing is a bit odd. But its looks nice alphabetically)

Thursday, 11 February 2016

Revit warnings and Dynamo

When I do Revit Project Health Check I tend to do a whole section on how warnings in your model are bad for all kind of reasons.

Some of these warnings are easy to fix and others are tedious to do. Fixing them right away as they occur is the preferred way.

I was looking at this one model with these warnings:

Although the duplicate marks is not a very severe warning it's still a good idea to fix it. Notice in the image below there are 1136 warnings atm.
So I was wondering can I fix these warnings with dynamo without using excel. So I set out and indeed it's possible. :)
Here is the script:
For the different categories and warnings you will want to change this one

and this one (the parameter name)
Notice that I concat the numbering with a string here. You may want to change that to your company standards.
The whole script


Less warnings!
So for this project I have to run this script a couple of times. Choose different categories and maybe different parameter names.

the script: dynamo script

Thursday, 21 January 2016

Autocad block positions to Revit with Dynamo

Playing around a bit with dynamo after a question. The question was about getting coordinates of boreholes into Revit. Ofcourse you could link the file and start placing families yourself. But that is no fun.

I did the following.
A data extract from Autocad to excel and a script in Dynamo to place families in Revit.

Blocks in Autocad
Data extract steps Autocad
Data extract steps Autocad
Data extract steps Autocad
Data extract steps Autocad
Excel fil
Dynamo Script
Revit family placed in a project
The script was easy. The most difficult part of this exercise was getting excel and Dynamo to deal with my regional settings.

Updated version of previous script: Place the same blocks while respecting the shared coordinates entered in the Project basepoint. Basically subtract project base point values from the values from the excel file. 

Below a link to files I have used:
files


Wednesday, 30 December 2015

Scopeboxes

Just another trick about scopeboxes. Imagine you have a design from which a floorplan looks like this.
Setting up a project north to draw orthogonally is only going to help you for one part. But what about the other parts. Use scopeboxes!



Draw 3 scopeboxes
Rotate the scope boxes accordingly

Assign the grids to the proper scopeboxes
Create 3 views
Assign each scopebox to its own view 

Google+ Badge