Showing posts with label Overrides. Show all posts
Showing posts with label Overrides. Show all posts

Wednesday, April 07, 2021

Overriding DWG Layers Didn't Work

A team was trying to override the appearance of the DWG layers after linking the file to their Revit project. Usually the reason for this not working is elements are not assigned to color or line pattern BYLAYER in the DWG.

In this case it wasn't working because the DWG was not within View Range's Primary Range, it was in the View Depth zone. Projection and Cut linestyles work inside the Primary Range and the <Beyond> linestyle is used for elements within View Depth.

Good catch Mia!

Wednesday, September 02, 2015

Temporary View Templates

View Templates are quite useful and potentially powerful when they are allowed to be aggressive, placed in charge of Views. To make a View Template the Boss we just need to assign one to a view via its View Template parameter.


Using the Right Click option to Apply Template Properties does not a boss make. It just applies the template settings but then leaves the view open to abuse.

When we do take advantage of placing a View Template in charge of views we bump into this Boss and its rules whenever we want to change the way the view looks. Normally that's good because the View Template is preventing arbitrary changes. In the following image I've mocked up structural walls and separate Veneer walls because I want to accentuate the structural wall in plan views (a common request). It also allows for fussy exterior finish changes (though these are hardly fussy).


In the plan view I've reduced the intensity of the veneer walls. When we need to change the way a view looks and it has a Bossy View Template we can use the Temporary View Properties button on the View Control Shortcut Bar. Usually it is sufficient to click Enable Temporary View Properties. Notice the other choice; Temporarily Apply Template Properties.


If we often find ourselves needing to apply the same kind of override to certain views it makes sense to create a View Template for that and then use it to apply an override to the view, like this next image. I've changed the appearance of the veneer walls to make them stand out; so it is easier to adjust them.


I created a Filter that is looking for a specific value in Type Comments. I picked that because it was easy for this example but it could be any parameter you like, as long as it sets the element(s) apart from others.


I also made another Filter to change the wall the other walls look so they don't compete graphically with the veneer walls as much as they would normally.


When I'm done adjusting the veneer walls I just need to click Restore View Properties and the Boss is back in charge.


Next time you find yourself using Temporary View Properties and Visibility/Graphics to tweak a view again, for the same reason as the last couple times, consider creating a View Template for it.

Sunday, May 17, 2015

Revit 2016 - IFC Observations

Autodesk recommends that we visit Autodesk Exchange|Apps to download the latest IFC application before starting to work with IFC data.


While testing these features I exported some walls and doors to IFC 2x3 so I could import them as IFC geometry. When I used Link IFC there were Generic Model openings filling the door openings to provide room bounding geometry.


There is a bit more going on behind the scenes when we import IFC. In the past we had to open an IFC which created a Revit project file we could then link. Those extra steps are done for us now as a background operation. There are three files that Revit creates based on the source IFC we link.


If I get obnoxious and delete these files and then open my active project file I get a warning message that Revit couldn’t find a linked file. When I use Reload From and select the IFC file I linked in the first place Revit creates those three files all over again. In the background it’s really just referencing the IFC file named "Linking.ifc.RVT".

I then opened the .RVT file that Revit created during the Link IFC process and deleted the openings and replaced them with Room Separator lines. Rather than doing that we can just leave the Generic Model elements but we need to use a Filter to turn them off. Revit creates a shared parameter file based on the IFC data. We can create a Project Parameter using one of its parameters (ObjectTypeOverrides) so we can create a Filter focused on the Generic Model category.


Once we understand that we can use the same approach to override the appearance of the existing walls, doors and windows so they look more like existing elements.