Saturday, June 29, 2013

Revit 2014 - Materials Revisited

he latest version of Autodesk Revit brings several new features. Most notable are the following:
  • Non-rectangular crop regions
  • Element selection toggles for links, underlays, pinned items, and select by face
  • Energy analysis on a Revit model, not just massing
  • Displace Element: new tool to create exploded views in any 3D view
  • Split segment feature for elevations
  • “Use Optimized View Navigation” setting that significantly improves performance
  • Place an Air Terminal directly on the side of a duct
  • Several enhancements to schedules
  • Temporary view properties, especially nice for views with a fixed View Template
Like last year, this article will cover changes made to the Materials user interface (UI) and workflows that current users need to be aware of in order to efficiently use the 2014 family of Revit products.

Another New Material Browser

Autodesk listened to their user base and made several changes to the way we work with materials. The image below shows the initial state of the Material Browser. We are back to a single material browser with tabs for IdentityGraphics and the assets (Appearance,Physical and Thermal). When CustomParameters are present, a small icon will appear in the lower left as shown below.
If a material does not have an associated asset, you can click the “+” icon to open the Asset Browser and add one.
The initial Material Browser view has the standard Autodesk library completely hidden to maximize the list of project materials. In the image below, notice the toggle to make the external material libraries visible (item A). Also, the list of options to sort the material list is nearly identical to last year (item B).

Duplicating a Material

It is important to know how to properly duplicate a Material in your model so you do not unintentionally affect another Material.
In this example, we will duplicate the material, Carpet(1). When this material is selected, we notice that the Appearance Asset (shown by #2) is not being shared with any other materials in this project. This is evident by the hand with the zero over it (shown by #3). As with previous versions, we simply right-click and select Duplicate (shown by #1) to create a copy of the selected material.
If you Duplicate a Material in your model, the Appearance Asset will be associated with the new Material and the Material you copied it from!
Note: This is also true for the Physical and Thermal assets if they exist in the original material.
Now that we have duplicated a Material (shown by #1), notice that the two carpet materials in this example now indicate they both share the same Appearance Asset (shown by #2, namedRed). Changing any of the properties for Carpet(2)’s Appearance Asset will also change Carpet(1). If you want to change one material without changing the other, click the Duplicate this asset icon in the upper right (shown by #3).
Once the Appearance Asset has been duplicated, you can expand the information section and rename the asset (shown by #4). You can now make changes to this material without affecting other materials.
Rather than duplicating the Asset you can also replace it from the Asset Library. This will not change any other materials. Simply click the Replaces this Asset icon shown below.

Class – A Lost Feature Restored

Like the tabs, the ability to filter materials by a user-definable “class” has been returned to the user in the 2014 version.
Looking at the Identity tab, we see the Class drop-down list. We can pick from this list or type a new class name. On the left, above the Project Materials list, we can filter the list by the class parameter.
When an external library is visible, we can also filter by Class as shown below. Notice the added “bread crumb” reference as to where you are in the tree structure. The drop-down arrows in the “bread crumb” area helps to quickly jump around. This is much easier than navigating the tree structure on the left. If you think so, you can toggle off the tree structure with the icon to the right of the “bread crumb” area.

Conclusion

The Material Browser dialog in Revit 2014 is much cleaner and easier to navigate. With this and the performance enhancements around materials, most users should be pretty happy working in Revit 2014! However, it would be nice if we had a command called Duplicate Material and Assets to streamline that process when needed.

Want More?

Dan will be teaching three classes at the Revit Technology Conference (RTC) in Vancouver, Canada, in July 2013. One class is entitled Mastering Materials – Getting what you want from Revit. Another class (actually a lab) will be Lighting Design and Analysis in Revit using ElumTools. Below, respectively, are two teaser images!


Using Shared Parameters in Autodesk Revit

Introduction

Revit has many features which are unique when compared to other building design programs; one of these is Shared Parameters. The big idea with Shared Parameters is to be able to manage parameters across multiple projects, families and template files. This feature allows Revit to know that you are talking about the same piece of information in the context of multiple, unconnected files. This article will cover the basics of setting up Shared Parameters, some of the problems often encountered and a few tricks.
The main reason for using Shared Parameters is to make custom information show up in tags; however, there are a few other uses which will be mentioned later. In contrast, a Project Parameter is slightly easier to make in a project but cannot appear in a tag; Revit has no way of knowing that the parameter created in the family (info to be tagged) and the parameter created in the tag are the same bit of information. Both Project and Shared Parameters may appear in schedules.
The image below depicts the notion of a common storage container (i.e., the Shared Parameter file) from which uniquely coded parameters can be loaded into content, annotation, and projects, thereby creating a connected common thread between several otherwise disconnected files.

Shared Parameter File

Creating a Shared Parameter is fairly straight forward; managing them afterward is where some get into trouble. Select Manage > Shared Parameters from the Ribbonto open the Edit Shared Parameters dialog box. This dialog basically modifies a simple text file, which should not be edited manually. If a text file has not yet been created, you will need to select theCreate button and provide a file name and location for your Shared Parameter file.
It is important to keep in mind that this file will be the main record of all your Shared Parameters. From this file, you create Shared Parameters within Projects, Templates and Families. Therefore, I recommend you have only one file for the entire firm (even if you have multiple locations). Of course, there is always an exception to the rule. This single file should be stored on the server and the software deployment should be set up to automatically point user computers to the Shared Parameters file. This can also be done manually by clicking theBrowse button in the Edit Shared Parameters dialog.
Once a Shared Parameter is loaded into a project, template or family, the text file is no longer referenced. So you technically do not need to send this file with your project file when transmitting to a consultant or contractor.
The name of the file should be simple and easy to find. You should create a new text file for each version of Revit you are using—include this in the file name. Some newer parameter types will cause older versions of the software to reject the text file.

Creating a Shared Parameter

In the Edit Shared Parameters dialog box, you can easily create Groups and Parameters. Groups are simply containers, or folders, used to organize the multitude of parameters you will likely create over time. When starting from scratch, you must first create one Group before creating your first Shared Parameter.
To create a new Group, click the New button under the Groups section. In a multi-disciplinary firm, you should have at least one group for each discipline. Parameters can be moved around later, so don’t worry too much about that at first.
Clicking the New button under Parameters allows you to create a new parameter in the currentGroup. You only need to provide three bits of information, as shown below: NameDiscipline, and Type of Parameter. In this example, we will create a parameter called “Clear Width” which will be used in our door families (but which can be used with other categories as this is not specified at this level). The other standard options, such as Instance versus Type, are assigned when the parameter is set up in the project or family.
The Discipline option simply changes the options available in the Type of Parameter drop-down, which, in turn, lets Revit know what type of information will be stored in the parameter you are creating. Many programing languages require parameters to be declared before they are used and cannot later be changed. Revit is basically a graphical programming language in this sense.
When a new Shared Parameter is created, a unique code is assigned to it. The image below shows the code assigned to the Clear Width parameter we just created. For this reason, it is not possible to simply create another Shared Parameters file a few months from now and have it work the same way.

Creating a Shared Parameter in a Family

Now that you have created the framework for your Shared Parameters, i.e., the text file, you can now begin to create parameters within content. The next section covers creating Shared Parameters in project files.
Open a family file—in this example, we will open the Single-Flush.rfa file. Select the Family Types icon. Click the Add button on the right. Now choose Shared Parameter in theParameter Properties dialog that opens up, as shown below, and then the Select button. This will open the shared parameter text file previously created. Select “Clear Width” and then OK.
Now you only have two bits of information left to provide in the Parameter Properties dialog. Specify whether this is a Type or an Instance parameter; also, specify the option for Group parameter under, which controls which section the parameter shows up under.
Notice how the bits of information specified in the Shared Parameters file are grayed out here? They cannot be changed, as this would cause discrepancies between families and project files. This information is essentially “hard wired” and cannot be changed.
Once the parameter has been created in the family, it can be used just like a Family Parameter. In this example, we created a formula to subtract the frame stops and the hinge/door imposition on the opening, as shown in the Family Types dialog below. Keep in mind that this value could now appear in a custom tag if desired, thus listing the Clear Widthfor each door in a floor plan. Maybe the code official has required this. Using Shared Parameters is the only way to achieve this, short of using dumb text.

Next we will look at creating a door tag that lists the clear width. This is similar to the steps just covered for the door family, as a tag is also a family. The only difference is that this parameter will be associated to a Label.
Open the default Door Tag.rfa family. Do a Save As and rename the file to Door Tag - Clear Width.rf. Delete the linework (if desired). Select the text and click the Edit Label button on the ribbon. In the Edit Label dialog, you need to create a new parameter by clicking the icon in the lower left (see image below). Your only option here is to select a Shared Parameter; as previously mentioned, only Shared Parameters can be tagged. Once the new parameter is created, click to move it to the right side of the dialog, in the Label Parameters column. Next, select the original Mark parameter and remove it. Finally, edit the Sample Value to something like 2’-10” – this is what appears in the family to give you an idea of what the tag will look like in the project.
Note: The Mark parameter could be left in the tag if you wanted both the Markand Clear Width to appear together. The other option is to have two separate tags which can be moved independently. Keep in mind that it is possible to tag the same element multiple times. In this case, you would have two door tags on the same door—each tag being a different type.

Load your new door and door tag families into a new project file. In the next section, you will see how these work in the project environment.

Using Shared Parameters in a Project

Now that you have set up your content and tags, you can use them in the project. First, draw a wall and then place an instance of the Single-Flush door (turn off Tag on Placement). Select the door and notice that the Clear Width parameter is showing up in the Properties palette; it is an Instance Parameter. Add another door to the right of this one and change the width to 30” via the Type Selector. Notice the Clear Width value has changed.
                                                                    
Next, you will tag the two doors. Select the Tag by Category icon from the Quick Accesstoolbar. Uncheck the Leader option and select each door. In the image below, the tag was also set to be Vertical via the Options bar. If the tag placed is the door number, select the door tag and change it to the Clear Width option via the Type Selector.
Note: if the text does not fit on one line, you have to go back into the family and increase the width of the text box and reload the family into the project.

Things to Know

Only content which contains the Shared Parameters will display the parameter placeholder in a project. Try loading another door family (e.g., Double-Flush) into your test project without changing it in any way. Place an instance and then notice the Clear Width option does not appear in the Properties palette. This means that all content must have the Shared Parameter added to it. It is possible to create a Project Parameter in the project/template file, but you have to specify Instance or Type. If this varies, you cannot use a Project Parameter. The Project Parameter takes precedence and will change loaded content.
Selectively associating parameters with content is a great trick when it comes to certain categories that have a variety of items: categories such as Furniture or Mechanical Equipment. Only loading Shared Parameters into file cabinets or air handling units (AHU) will ensure that those parameters do not appear in your lounge chairs or VAV boxes. I first learned this trick a few years ago from the Revit MEP guru, Plamen Hristov.
Note: This also works with Family Parameters, but this information cannot be tagged or scheduled.

Dealing with Problems

A number of problems can be created when Shared Parameters are not managed properly. The most common is when two separate Shared Parameters are created with the same name. This often happens when new users delete or otherwise lose a Shared Parameter file. They then try to recreate it manually, not knowing that the unique code (mentioned previously) is different and Revit will see this as a different Shared Parameter. The first place this problem typically shows up is when a schedule in the project has blank spaces even though the placed content has information in it. In this case, the schedule is using one specific version of theShared Parameter and only the content using that same version of the Shared Parameterwill appear in that schedule.
The fix for this problem is to open the bad content and re-associate the parameters with the correct Shared Parameter. It is not necessary to delete the bad parameter—which is good as this could cause problems with formulas.
If you get content from another firm you are working with and they have used Shared Parameters, it is possible to export those parameters from the family editor into your Shared Parameter file. They will initially be located in the Exported Parameters group, but can then be moved to a more appropriate location. This allows that unique code to be recreated in your file.
If you have a shared parameter with the same name as another firm you are working with on the same model, it presents a problem. You will have to decide whose version to use. There are some tools one can use to add and modify shared parameters in batch groups of families. One is found in the new Extensions for Revit 2012, which is available via the subscription website. Another tool, which has much more control and options, is the Revit Family Processor 2012 from Cad Technology Center (CTC).

Conclusion

Using Shared Parameters is a must in order to take full advantage of Revit’s powerful features. Like any sophisticated tool, it takes a little effort to fully understand the feature and its nuances. But once you have harnessed the power of the feature and implemented it within your firm’s content and templates, you can be much more productive and have less potential for errors and omissions on your projects.

Revit Structure Tutorials (2012)

More Beginners Revit Structure Tutorials (2012) 


What You Will Accomplish
Linked Levels And Project Levels
Wall Joins
Making New Types
Edit Type
View Range
Editing A Beam System
Make A Slab
Floor Slab Edge
Make A Stair
Making New Types
Adding Area Reinforcement
Elevations And Sections
Crop Region
Loading Detail Components
View Templates

More Revit Structure Tutorials..

Revit Structure Tutorials (2014)

Beginners Revit Structure Tutorials (2014)


More Revit Structure Tutorials..

Thursday, June 27, 2013

Connect Into

Connect into is a very useful, but often overlooked method of connecting things in Revit MEP. To demonstrate the functionality, I'm going to pipe together a small sprinker layout. The building that I'm using actually comes from the Revit MEP 2010 tutorials and is the north east end of the 2nd floor of the building if you would like to try it for yourself.
 
I've already added the sprinklers (and will readily admit that I'm not a fire protection person, so If the sprinkler layout is wrong, sorry) and added a sprinkler pipe to the corridor outside of the rooms that I'm working in.
 
The first step that I'm going to complete is to complete drawing the pipe to the farthest thing that I'm going to connect to. Are there other ways to do this? Yea, but this is probably the easiest.
 
So I'll select the pipe that has already been added and right click on the connector control at the end (you have to right click the blue control, not the pipe itself), and when the context menu appears select Draw Pipe.
 
 
Starting the draw pipe command this wall will set the size and offset of the pipe to match the one that I'm starting with, so that I don't have to worry about what size / elevation the existing one is. Once the pipe command starts I simply drag my cursor to the right, until I get a remote snap from the sprinkler that has been placed in the right-most room. and click to draw the pipe to that point.
The next step is to change the size of my pipe from a 3/4" to a 1/2". I'll do this on the options bar. Then I will drag my cursor over the "upper" sprinkler until I get the point snap on the sprinkler. Once I see the point snap, I click to connect to the sprinkler.
 
After connecting to that sprinkler, I'm going to repeat the process, but in reverse for the other "farthest" sprinklers. To start I'll go to the sprinkler just to the left of the one that I just connected to and when I see the connector snap, click to connect to it.
 
Once I've connected to that sprinkler I'll simply drag my mouse down screen to connect to the pipe.
 
 
Now do the same thing for the "left most" set of sprinklers.
 
 
For those of you already yelling that the sprinklers aren't connected yet, I know. The whole point of the "tee into" tutorial starts here, I just had to get enough done to get to the "connect into" part.
 
Revit is not very good a drawing things that go perpendicular to the current view, so drawing the small pieces of pipe that connect to sprinklers to the pipes above them is a bit of a challenge. To make it so that you don't have to draw these pipes manually, a way was created to not have to worry about drawing them manually.
 
Get out of the pipe command. Select any of the sprinklers that are not already connected to a pipe, and notice that in the ribbon a command called "Connect Into" will appear. If you select this command you will be prompted to select a pipe to connect into. If you pick a pipe that is directly above the sprinkler that you had selected, the sprinkler will simply create a pipe to "tee" into the existing pipe.
 
A simple 2D before and after view doesn't quite do this justice, so I'm going to show both 2D and 3D views of before and after.
 
  
   
 
 
     
 
 
   
 
 
 
By using the "connect into" function for each of the sprinklers that are disconnected you can quickly change the layout from the way it looked before to one where all of the sprinklers that are directly under the pipes are connected.
 
In addition to using connect into for the sprinklers that are directly below the pipes, I can also use connect into for the sprinklers that are not below the pipes. The "procedure" is exactly the same. Simply select the sprinkler, select Connect Into, and then select the pipe that you want to connect into.
 
 
 
 

Pipe Spud

Just a warning... This isn't a "click by click" tutorial. I won't tell you every button that you should click on to get to the function that's needed. Sometimes I won't tell you to click "OK" to exit a dialog, but if I show you the "model view" next, please assume that I exited the previous dialog with an affirmative (I will tell you when I click "cancel").
 
There have been a number of complaints about the fact that there is no pipe spud (or tap) included with the "out of the box" content delivered with Revit MEP. It's actually not all that hard to make a pipe spud, as long as you have something to start with.
 
Open the Round Duct Takeoff.rfa family from the content folder (I'll leave it up to you to figure out where your content is installed).
 
Save the family with a new name (so that you don't accidentally mess up the Round Duct Takeoff), I'm going to use the creative "Spud.rfa" name for mine.
 
Open the Family Types dialog and change the Insulation Thickness and Lining Thickness parameters to 2" each and click OK.
 
 
(This is just so that you can see the geometry in the family to make sure that you are working with the parts that you want to work with).
 
Now that we can see the different part of geometry in the model, we can get rid of the lining geometry (since lining won't work very well for piping). There is some strange joined geometry in the tap family, so make sure that you get both pieces of the geometry and simply delete it from the family (it may be easier to change the display to wireframe to make sure you have all of the geometry selected, but I'm not telling you how to change the display to wireframe).
 
 
Since we've gotten rid of the lining geometry, we can also get rid of the lining parameter that exists for this fitting. To do that we'll go back into the Family Types dialog, select the Lining Thickness parameter and click Remove (we don't need that parameter any more).
 
The connectors that are in this family are currently duct connectors, and duct connectors aren't going to work well for piping, so we need to replace them with pipe connectors. Before we do that however, we need to "play" with the geometry a bit. The "tubular" geometry that you see in this family actually consists of two different pieces of geometry (2 different sweeps). We need to unjoin this geometry so that we will be able to place a connector on it after we delete our duct connectors. To do this start the Unjoin Geometry Tool and then pick the front of the "inner" tube.
Now that we have our geometry "broken up" we can delete our duct connectors. To do this just select both of the connectors and hit Delete.
 
Now we can add some connectors back, but this time they will be Pipe connectors, rather than duct connectors. Click on the Pipe Connector tool and then select the "inside" surface as shown below.
 
 
Click again to add a connector to the front part of the Geometry.
 
 
 Once you've added both of the connectors, the family should look something like the image below.
 
 
Now the connectors obviously aren't correct yet, as they are way bigger than the geometry that they are placed on. Select both of the connectors and go to Properties.
 
The first thing that we want to change in the connector properties is the System Type on the connectors. When I added the connectors the system type defaulted to Hydronic Supply. We can change the system type to Fitting, since this is a fitting.
 
 
 
By changing the System Type to fitting, that cuts way down on the number of connector properties that we need to deal with. The only one that we need to pay attention to now is the Radius property. If we look closely we'll see that there is a button at the right side of the dialog that allows us to "map" the connector property to one of the family properties.
 
 
When we click on this button, we will see the Associate Family Parameter dialog. In this dialog select the Radius parameter and click OK.
 
 
Click OK to exit the Properties dialog as well.
 
We should see that the connectors are now the same size as the geometry that they are placed on.
 
We need to put the geometry back like it was before we started, so start the Join Geometry tool and select the two "inner" tubular sections.
 
Now we need to go to Family Category and Parameters and change the category. Since we started with a duct fitting, the category is Duct Fittings. We can change it from Duct Fitting to Pipe Fittings. When you change the category of an element you should always check the Family parameters dialog to make sure that the settings are appropriate. In this case we need to change the Part Type to Spud - Adjustable.
 
Finally, let's change the insulation thickness parameter back to 0" in Family Types. Save your family and you're basically done. (If you want to actually use the family you'll probably want to create a new pipe type in a project, load this family into the project, set the Spud type to the family that you just created and change the "Preferred Junction Type" from Tee to Tap).
 
If you are really lazy, you can get a file created from the method above

Smoke detector layouts

Smoke Detector layouts
The first thing you notice about layout drawings for smoke detectors is that the detectors are very small, a problem made even worse if the drawings are going to printed NTS at A3.
To overcome this issue we can modify the family to create a suitable view at course detail level but that will of course affect everything else on the drawing.
As a work around I looked at editing the family to create a parameter allowing me to turn on a larger version of the detector, in the type properties, independent of the detail level and suitable to display on drawings printed at A3
This led onto developing the approach to also displaying the smoke detectors range which would help in planning layout strategies.
Edit the smoke detector family and use symbolic lines to create a circle that will represent the range of the smoke detector.
Dimension the radius of the circle, select the dimension, add parameter from the label drop down and complete the dialogue box as shown below.
Close dialogue box
We can now look at changing the appearance of the range circle so it is easily identified on the drawing.
From the manage tab in the family editor select Object Styles and create a new subcategory “sd range” under Fire Alarm Devices.
Set the properties for the new subcategory then close the dialogue box
Select the range circle you have drawn and from the properties set the Subcategory to sd range.
This will change the display of the range circle you have drawn.
Next we will add a parameter to control the visibility of the SD Range circle. Selecting the range circle you have drawn, pick the button in the properties palette to add a visibility parameter.
Add parameter
Complete the dialogue box as shown
Close all dialogue boxes and the properties for the range circle should appear as shown below.
Load the family into the project and overwrite the existing version. Look at the type properties of updated Smoke detector and you should have the option to change both the size and the visibility of the circle representing the range.
Use this approach to create enlarged version of things such as smoke detectors etc that are too small to effectively display at usual print scales or that will be printed NTS at A3 format.