Chapter 19. Parameters

Revit is sometimes referred to as a parametric modeling application. Parameters are the very core of what makes Revit MEP 2011 such a powerful design and modeling tool. Parameters hold the computable data that defines the properties of not only model components but everything that makes up a Revit project. They are the characteristics of all elements of a Revit project that ultimately determine behavior, appearance, performance, and information.

Parameters and properties are often considered synonymous, but it is parameters that determine the properties of a component. Properties may be static, yet parameters allow for change to be propagated throughout the project. For example, you can have an object with a length property, but it is a length parameter that allows you to change the length as needed.

There are three basic kinds of parameters in Revit MEP 2011. Some parameters are hard-coded into the software. The values of these parameters can be edited as needed, but the parameters themselves cannot be removed or modified. In this chapter, these will be referred to as coded parameters.

Family parameters are used to build and define graphical structure and engineering data within component families. These parameters can be customized as needed to enhance the capabilities of component objects and to extract and analyze data.

Shared parameters are useful to help maintain consistency within families and to coordinate information within a project. They are the most useful kind of parameter because they can be used in component families, schedules, and tags and annotations.

When you realize the power of parameters in Revit and understand the types of things you can achieve with them, you will have a better understanding of why Revit can improve your workflow processes and the efficiency of your design projects.

In this chapter, you will learn to

  • Manipulate the properties of parameters

  • Work with parameters in families

  • Use shared parameters

  • Use parameters in project files

Parameter Properties

Before you can understand how to use parameters to drive the properties of your objects, you need to understand the properties of parameters. When you create a parameter to hold some form of computable data, you want to define the way in which it will do so. Figure 19.1 shows the Parameter Properties dialog box accessed from within the Family Editor. Other versions of this dialog box that contain additional settings are discussed later in the chapter. This dialog box is the first step when adding a parameter to either a family, a project, or a schedule.

Parameter Properties dialog box

Figure 19.1. Parameter Properties dialog box

The first decision to make is what type of parameter to create. Family parameters can be created when working in the Family Editor, and they are limited to being used only within the family. The information that they hold cannot be used in schedules or reported by a tag or annotation. Shared parameters can be used the same way that family parameters are used, but they are unique in that they can also be used in schedules or tags. Parameter types are discussed in further detail later in this chapter.

Parameter Naming

When you choose to add a parameter, it is likely that you have a specific purpose for it. That may sound like an obvious statement, but it is important to consider when you decide what to name the parameter. There is no harm in naming your parameters in a descriptive manner, especially when you are working with others who need to understand the purpose of a parameter. However, it is possible to be too verbose. Long parameter names can cause the annoyance of having to resize columns within dialog boxes in order to read the name.

Consistency is the key to good parameter naming. It can be frustrating to go from one family to another and see different names for parameters of the same information. Using descriptive words is also helpful, especially when you have similar parameters within the same object, such as a component that is made up of multiple shapes with each requiring a width parameter. Having W1, W2, W3, and so on, as parameter names can be difficult to work with, whereas using names like Housing Width, Lens Width, and Bracket Width make it easier to make adjustments or changes when working in the Properties palette or Type Properties dialog box of the object.

If you intend to abbreviate measurements such as length, height, or radius, be sure to use a consistent format. Will you use the abbreviation as a prefix or suffix to the descriptive portion of the name? Will punctuation such as dashes or parentheses be used? Decide up front whether you will use height or depth to describe the third dimension of an object.

Parameter naming is important because when you refer to a parameter in a formula, calculated value, or filter, Revit is case sensitive and content sensitive. Spelling and capitalization accuracy are critical, so develop a naming convention that is as simple as possible while still being easily understood.

Type Parameters

Type parameters are the reason that you can have multiple variations of a family within one file. Family types are driven by one or more type parameters. When you are creating a parameter, it is important to decide whether the parameter will be used to define a type within the family.

Type parameters can cause the most damage when misused because they enact changes to every instance of the family type to which they belong. For this reason, you will receive a warning when editing a type parameter in a schedule view, and accessing a type parameter in a model view requires an extra mouse click.

Type parameters do not always have to define a family type. In some cases, you may want to define a parameter as a type parameter so that changes can be made to a family everywhere the family exists in a project. For example, if you are creating a parameter for the finish color of an object, you could make it a type parameter so that when you change the value of the parameter, it changes all instances of the object.

Type parameters do require that if you need to change just one or a few instances of an object, you will have to create a new family type. This can lead to having several types within a family, causing your Type Selector to be cluttered and confusing. If you are creating a type parameter that will define a family type, it is best to name the family type as it relates to the value of the type parameter(s). A light fixture family defined by its width and length parameters would likely have family types with names such as 2 4 (600 1200) and 1 4 (300 1200), for example.

Instance Parameters

Instance parameters provide the most flexibility for editing an object. They are easily accessed via the Properties palette when an object is selected. Create instance parameters for values that you want to be able to change for just the selected object. Using the finish color example again, if the color is an instance parameter, then you could have one family type that could vary in color, without having to create a separate family type for each color option.

The drawback to instance parameters is that they apply only to the selected objects, so if you want to change an instance parameter value for all instances of an object, you will have to select each object and change it individually or use the tools that allow you to select all instances of a family.

An instance parameter can be set to be a reporting parameter. This is a new feature for Revit MEP 2011. A reporting parameter will hold a value that can be used in formulas for other parameters or to drive the behavior of another parameter. These are most useful in families that are wall or ceiling hosted because you can use a reporting parameter to recognize the thickness of the host wall, for example. Some portion of a dimensional reporting parameter must be associated to the host in order to be used in a formula.

Once you have defined a parameter as either instance or type, you can change it if required for the desired behavior. However, switching a parameter from type to instance, or vice versa, can cause problems if the parameters are used in formulas, so it is best to know up front what kind of parameter to create.

Parameter Discipline, Type, and Grouping

The Discipline drop-down list in the Parameter Properties dialog box contains the different disciplines that can be assigned to a parameter. Parameter discipline is important for defining the measurement units that the parameter value will have. Figure 19.2 shows the drop-down list of available disciplines.

Parameter discipline options

Figure 19.2. Parameter discipline options

The Type Of Parameter option in the Parameter Properties dialog box is directly related to the chosen discipline. Each discipline has a unique set of parameter types that relate to the various units of measurement for that discipline.

Figure 19.3 shows the Type Of Parameter options for the Common discipline. Notice that many of the types are the same as in the Project Units settings for the Common discipline of a project such as Length, Area, and Volume.

Parameter type options for the Common discipline

Figure 19.3. Parameter type options for the Common discipline

There are additional options for parameter values that are not a unit of measurement. The Text option allows you to input anything for the value of the parameter. This is the most versatile option, but from an engineering standpoint, it offers the least amount of intelligence because a text string provides only information, not computable data. If you are creating a parameter that is scheduled and want the ability to input either numbers or text or a combination of characters, then the Text option is best.

The Family Type option for a parameter is a useful tool when using multiple nested families within a family. You can create a Family Type parameter to toggle between all the nested families. When the host family is loaded into a project, the parameter can be modified to display any of the nested families by selecting from the list in the Family Type parameter. Figure 19.4 shows an annotation family for graphic scales with several nested annotations loaded. A Family Type instance parameter has been created to allow for use of any of the nested families.

Family using Family Type parameter

Figure 19.4. Family using Family Type parameter

You can use the Yes/No option if your parameter requires a simple yes or no value. The value for this type of parameter appears as a check box, which can be used to control the visibility of objects or to verify that a condition exists.

Other disciplines have options for Type Of Parameter that relate to units of measurement for that discipline. It is important to know that when you select a specific Type Of Parameter setting the value used for that parameter must be consistent with the unit of measurement. For example, if you choose the Air Flow option for the HVAC discipline, you could not input a value of anything other than a number consistent with the unit of measurement you are using for air flow. This can cause problems with schedules when an object does not have a value for this parameter and you want to use something like N/A or — to indicate that the value is not actually 0.

By default, the Type Of Parameter option will be set to Length. This is new to Revit MEP 2011, whereas in older versions the default was Text. In older versions, it was easy to overlook this setting because of the versatility of the Text type, but with Length being the default now, it is important to set the proper type.

You can determine where the parameter will show up in the Properties palette or Type Properties dialog box of an object, as shown in Figure 19.5.

Parameter groups

Figure 19.5. Parameter groups

The option for grouping parameters is sometimes confusing to people because they think that it is related to the Type Of Parameter setting. This setting does not have any bearing on the Type Of Parameter or Discipline settings, so you could have a Duct Size parameter that is placed in the Identity Data group. To make it easier to keep parameters organized, new functionality has been added that automatically associates a parameter type with an appropriate group. So if you create a Length parameter, it will be placed in the Dimensions group, Air Flow parameters are placed in the Mechanical-Airflow group, and so on. You still have the option to place a parameter in any group you choose, but now the defaults are more intuitive.

Parameter grouping is another area where being consistent is important to improved workflow and efficiency. You want to be able to find your parameters in the same location for each family while editing in your model.

Parameters in Families

Parameters are primarily created when working in the Family Editor. As content is created or edited, it becomes clear what type of data is needed for either analysis or reporting or to drive the geometry. The new functionality in Revit MEP 2011 for editing parameters in the Family Editor makes it easier to work with dimensional parameters in the drawing area without having to access the Family Types dialog box.

Dimensional Parameters

You now have the ability to lock dimensional parameters in the Family Editor so they cannot be changed while working on the geometry of a family. There is now a Lock column in the Family Types dialog box with a check box for each dimensional parameter. What is nice about this feature is that if you do not lock a parameter, you can change its value while working on the geometry, eliminating the need to stop and access the parameter to change its value manually. An object that is constrained by a dimension can be moved, and the parameter's dimension value will adjust. This eliminates the pesky Constraints Are Not Satisfied warning dialog box that appeared in previous versions. However, this warning will appear if a dimensional parameter is locked and an object is moved.

You also have the ability to edit the value of a dimensional parameter in the drawing area by clicking the text, just as you would edit a dimension object. This can be done whether the parameter is locked or not. Locking only prevents the accidental dragging of an object while working in the drawing area.

Parameter Types

When creating type parameters in a family, there will be a set value for each family type. When the family is inserted into a project, the values established in the family will remain until the family type is edited. Instance parameters can be given a default value when created in a family. These parameters are easily identified in the Family Types dialog box via a suffix of (default). This is the value that the parameter will initially have when placed into a project. If you edit a family that exists in your project and then load it back in, the instance parameter values will not change from their existing states in the project. Fortunately, the dialog box that warns you that the object already exists in the project gives you the option to overwrite the family and its parameter values, which will change any instance parameters to the value as it exists in the family.

As mentioned earlier, Yes/No parameters are great for controlling the visibility of objects. After creating a Yes/No parameter, you can select the desired object and set its Visibility parameter to the value of the Yes/No parameter using the small box at the far right of the Visibility parameter value. Figure 19.6 shows the settings used to associate the visibility of line work with a Yes/No parameter.

Yes/No parameter used in a family for visibility

Figure 19.6. Yes/No parameter used in a family for visibility

Type Catalogs

Families can sometimes become very crowded with many types. The number of type parameters used to define a family type will increase the number of family types. When these families are loaded into a project, all of the family types are loaded. This can quickly cause your project to be overloaded with unused family types. One way to remedy this scenario is to create type catalogs for families that contain many types.

A type catalog is a .txt file that contains values for the type parameters of a family. Having a type catalog associated with a family allows you to select only the family types you want to load when you insert the family into a project. You can create a type catalog for a family by creating a .txt file with the same name as the family in the same folder as the family file. Because type catalogs are .txt files in comma-delimited format, it is easier to edit them using a spreadsheet program such as Microsoft Excel.

To create a type catalog, do the following:

  1. Start a new spreadsheet file. The first column of the spreadsheet will be a list of all the family types. Each column after that will be a type parameter within the family. The type parameters must exist in the family file and have some value in order to be used in the type catalog.

You cannot use instance parameters in a type catalog. If you leave a parameter value blank in the family, the type catalog will ignore the parameter when the family is loaded. So even though the parameters in the family are essentially placeholders for the type catalog, they need to have something input for their value. Figure 19.7 shows an example of a type catalog for a motor connection family.

Sample type catalog

Figure 19.7. Sample type catalog

It is easy to see why a type catalog for this family is used; otherwise, all 23 family types would be loaded when this family is inserted into a project. Notice that the format for the type parameters is ##parameter name##group name##. The group name is relatively unimportant because the parameter is already grouped in the family file, so Other can be used. For consistency, however, it is best practice to use the actual name that the parameter is grouped under. It is not a necessity, but this format is important because otherwise the columns cannot be parsed when the family is inserted into a project. Use decimals for measurement values. The units of a dimensional parameter should be defined in the column heading, such as ##DuctSize##Other##Inches.

  1. Once you have finished creating the spreadsheet, you can save it as a .csv (comma-delimited) file. If you receive a warning that some of the features of the file may not work when saved to .csv format, you can click Yes to save the file.

Once the file is saved, you can browse to it and rename the file with a .txt extension to convert it. If you receive a warning that the file might become unusable when the extension is changed, click Yes.

Sample type catalog

When a family with an associated type catalog is inserted into a project, a dialog box will appear that allows you to see the parameter values for each type and choose which family types you would like to load.

  1. Choose family types by selecting them from the list. You can select multiple types, as shown in Figure 19.8. You can filter the dialog box by specific parameter values using the drop-down list under the heading of each column.

Specifying types from a type catalog

Figure 19.8. Specifying types from a type catalog

Formulas

Not all parameters in a family are used to directly drive the geometry. Many are used to hold data that results from the creation of the geometry, which will be used for driving additional geometry or spatial relationships. This is done by creating a formula for a parameter. One of the most common occurrences of this is when a diameter measurement is required. Revit will only dimension the radius of a circle, so a diameter parameter must be created by using a formula. The radius of the geometry is dimensioned and applied to a parameter, which is then used in a formula to generate the diameter measurement.

Formulas

One nice feature of formulas is that you can change the value of the parameter that is created by a mathematical formula, and the value of the parameter used in the formula will update accordingly. Mathematical operators and Boolean functions can all be used. Placement of parentheses, proper units, case, and context sensitivity are all very important for your formulas to work properly. A warning will appear if the result of a formula does not match the units for a parameter as well as if a parameter name is misspelled.

Formulas can even be used for parameter types such as a Yes/No parameter. Figure 19.9 shows a Boolean formula for a Yes/No parameter to determine when the box should be selected. The formula indicates that the box is either deselected or selected when the conditions of the formula are true.

Boolean formula for a Yes/No parameter

Figure 19.9. Boolean formula for a Yes/No parameter

Formulas using if statements are very powerful for providing exact conditions and variations in parameter values based on other parameter values. The format for an if statement is as follows:

if(condition, result, default result)

The default result is the value given to the parameter when the condition is not met. You can use other parameters to define the condition. For example, if you want a Width parameter to equal the Length parameter under certain conditions, you could write this formula:

if(Length>2' 0"(600mm), Length, 1' 0"(300mm))

This formula would cause the Width value to equal the Length value when the Length is greater than 2′-0″ (600mm); otherwise, the Width would be 1′-0″ (300mm).

Coded Parameters

When you create a family, certain parameters exist by default. These parameters are hard-coded into the software and cannot be removed. You can use these parameters where they apply to avoid having to create custom parameters.

These parameters vary depending on the category you choose for the family. The coded parameters under the Identity Data group are common to component families and are also included in system families within a project.

Coded Parameters

There are, however, a few that do not appear in the Family Types dialog box when working in the Family Editor but do appear in the Type Properties dialog box once the family has been loaded into a project. The most notable of these is the Type Mark parameter. This parameter is often used to identify a component with a tag or in a schedule. Because this parameter does not exist in the family file, you cannot use it in a type catalog. One way to avoid creating a custom parameter that does essentially the same job as the Type Mark parameter is to have your type catalog create family types named with the same value you would use for the Type Mark. Then you can tag or schedule the Type parameter instead of the Type Mark parameter.

Lookup Tables

One coded parameter that is unique is the Lookup Table Name parameter that exists in families that can utilize a lookup table for dimensions. These are primarily duct, conduit, and pipe fitting families. When you install Revit MEP 2011, an extensive library of lookup tables is installed that can be referenced by families.

Lookup tables are .csv files that work like a type catalog. They provide values for dimensions based on other dimensions within the family. The data in lookup tables can be driven by design codes or manufacturing standards to ensure the graphical accuracy of your components. Pipe fittings, for example, have a nominal diameter that is used to identify the size, but the actual outside diameter is slightly different especially for different pipe materials. A lookup table can provide the outside diameter dimension for each nominal diameter that exists in the table.

The Lookup Table Name parameter is used to identify which .csv file the family is referencing. The location of your lookup tables is defined in your Revit.ini file. When you type in the name of a lookup table, you do not need to include the full path to the file, only the name and file extension. As with parameter names, referencing a lookup table name is case and context sensitive.

Once you have referenced the lookup table with the Lookup Table Name parameter, you can access the data in the table by using a formula for the value of a parameter. The formula using lookup table data is as follows:

text_file_lookup(Lookup Table Name, "Column Nam", Value if not found in table, Value found in table)

The result of this formula will apply the value found in the table to the parameter or the defined value given in the formula if none is found in the table. The image shown here is the formula used to determine the value of the Fitting Outside Diameter parameter of a pipe fitting family. The FOD column is searched for a value that coincides with the value given for the Nominal Diameter and applies it to the Fitting Outside Diameter parameter. If the Nominal Diameter value given in the family does not match one in the table, then the Nominal Diameter + 1/8″ is used for the Fitting Outside Diameter.

Lookup Tables

For more information on working with parameters in family files, see the Families Guide, which can be accessed from the Documents On The Web section of the Revit MEP 2011 Help menu.

Shared Parameters

Shared parameters are the most versatile parameters you can use, but they also require the most management. Used properly, shared parameters can help ensure that your schedules are coordinated and that your construction documents are reporting the correct information. Shared parameters can be type or instance parameters that are used in families or as project parameters. The main advantage to using shared parameters is that the data they hold can be exported or reported in tags and schedules.

Shared parameters are parameters that are created with their settings stored in a .txt file. It may help to think of this file as a library of parameters, similar to a library of model components.

When you need to add a parameter to a family or project, you can use one from your shared parameters file. This helps with the management of your content and project standards because you can be consistent in your use of parameters. It also helps with maintenance by allowing you to avoid duplication of parameters, which can cause coordination issues. Multiple parameters with the same name can show up as available for use in a schedule, and you will not be able to tell which one is the correct one to use.

You can create a shared parameter by doing the following:

  1. Click the Shared Parameters button on the Manage tab. When you create a parameter in the Family Editor or add a project parameter, you have the option for it to be a shared parameter. Selecting this option will activate the Select button in the Parameter Properties dialog box.

  2. In the Edit Shared Parameters dialog box, you must first create a shared parameters file. Click the Create button to select a location for the file.

You can have multiple shared parameters files, so it is a good idea to create a folder in a common location that you and others can access. You can access these files by clicking the Browse button in the Edit Shared Parameters dialog box, which is shown in Figure 19.10.

Edit Shared Parameters dialog box

Figure 19.10. Edit Shared Parameters dialog box

There are two components to a shared parameters file. The parameter group is a level of organization that you can establish to group parameters together. This is not the same group as shown in the Parameter Properties dialog box for defining where parameters will be listed. These groups are so that you can keep your shared parameters organized. A typical method of organization is to create groups based on family categories. Figure 19.11 shows an example of parameter groups created for parameters that apply to specific family categories.

Sample parameter groups

Figure 19.11. Sample parameter groups

Notice that a group has been created for VAV units. Although it is possible to create a group with any name, keep in mind that the parameters must be assigned to a category. In the case of these parameters, they will be applied to all mechanical equipment if used as a project parameter even though they are specifically designed for VAV units. The parameters in this group could be added to a lighting fixture family if chosen. Parameter groups can be renamed or deleted using the buttons at the lower right of the dialog box. You cannot delete a group until all parameters have been removed from it.

  1. After you have established a group in your shared parameters file, you can begin to create parameters. Click the New button in the Parameters section of the Edit Shared Parameters dialog box to open a Parameter Properties dialog box. This is not the same dialog box that you get when you create a parameter in the Family Editor or in a project. This is a very simple dialog box because all you need to define for a shared parameter are the Name, Discipline, and Type Of Parameter settings, as shown in Figure 19.12. The parameter that you create will be added to whatever group you have active when you click the New button.

The Name, Discipline, and Type Of Parameter settings are the same options as when creating a family parameter.

  1. Once a parameter has been created, you can select it and click the Properties button to view its settings. The settings cannot be changed once a parameter has been created. If you want to change a shared parameter, you have to delete it and re-create it with the new settings. If you do so, you will have to add the parameter back to any object that had the parameter being replaced.

Parameter Properties dialog box for a Shared Parameter

Figure 19.12. Parameter Properties dialog box for a Shared Parameter

Choose and establish shared parameter settings very carefully. A parameter that is deleted from your shared parameters file will remain in any families or projects, but you will not be able to add it to anything new.

You can add a shared parameter to a family by doing the following:

  1. Select the Shared Parameter option in the Parameter Properties dialog box. This will activate the Select button, which opens the Shared Parameters dialog box.

  2. Choose the group that contains the desired parameter, and then select the parameter from the list.

  3. Once you click OK, you still need to define whether it will be a type or instance parameter and where it will be listed. These are the only two settings that can be modified once the parameter is added to the family.

  4. Click the Edit button in the Shared Parameters dialog box to open the Edit Shared Parameters dialog box, where you can browse to another shared parameters file or make changes to the active file.

  5. Once you exit this dialog box, you still need to select the parameter from the Shared Parameters dialog box to add it to the family. Once a shared parameter is added to a family, it can be used as a constraint or in formulas like any other parameter.

Managing shared parameters should be treated with the same importance as managing your content library. Because these parameters provide intelligence that carries through from a family all the way to your construction documents, it is important that they are maintained and used correctly.

One category where shared parameters can become cumbersome is the Mechanical Equipment category. Typically, many of the characteristics of a mechanical unit are required to be scheduled, so shared parameters are necessary. Some of these characteristics are the same unit of measurement but for a different component of the unit. Since you cannot add the same shared parameter to a family more than once, you may need to make multiple parameters of the same type. It is best to try and keep your shared parameters as simple as possible for this category. Naming parameters specifically for their use is helpful in keeping track of them, and developing a standard for where these parameters are grouped in the families will help you avoid confusion when editing the properties of a family.

Even though it may require a bit of work initially, adding these parameters directly to your Mechanical Equipment families rather than as project parameters will go a long way in keeping your families from becoming overcrowded with unused parameters. Consider keeping a document such as a spreadsheet that lists all of your custom parameters, whether they are family or project parameters, what parameter group they exist in if they are a shared parameter, where they are grouped in the properties of a family, and whether they are used as a type or instance parameter. Having this document open will be very helpful when creating new content because you will know what parameters already exist and how to use them. As new parameters are created, the document can be updated. If you work in an environment with multiple users, it is best to keep only one copy of this document in a common location.

Using Parameters in Projects

Parameters are typically handled at the component level for building objects, but there are also parameters for noncomponent objects such as views, sheets, and annotations. There may be a need for you to create custom parameters for system families that cannot be edited in the Family Editor. These parameters can be added to designated categories within your project so as to assign them to system families. Your projects themselves can have parameters that convey project-specific information. Understanding how to use parameters in a project is the key to getting the most benefit from constructing an intelligent model with computable data.

Project Parameters

The only way to add a parameter to a system family is to add it by creating what is known as a project parameter. This allows you to customize the information you want from elements within the model. Space objects can be given a lot of useful data to help make design decisions and to analyze the model performance. Project parameters make it possible to add this data to spaces and other elements that cannot be physically edited.

You can add a project parameter by clicking the Project Parameters button on the Manage tab. In the Project Parameters dialog box, you can see a list of any parameters that have been added to the project. Clicking the Add button opens the Parameter Properties dialog box, as shown in Figure 19.13. This is the same dialog box as in the Family Editor but with additional settings to assign the parameter to a category.

The settings for creating a parameter or adding a shared parameter are the same for project parameters. The only difference is the Categories section of the dialog box. This is where you can select the Revit category that the project parameter you are creating or the shared parameter you are loading is applied to in the project.

Project parameters are a great way to use shared parameters in families without having to edit each family individually. The check box in the lower-left corner indicates that the parameter will be added to all elements in the project that belong to the selected category. So if there are parameters that you want to use on a particular category of elements, such as light fixtures, you can create the parameters as shared parameters and then load them as project parameters into your project template file. Then whenever you load a family belonging to that category into your project, it will have the desired parameters, which can be used for scheduling or tagging.

Parameter Properties dialog box for a project parameter

Figure 19.13. Parameter Properties dialog box for a project parameter

The Categories section lists all MEP-related categories that the parameter can be applied to. Like the Visibility/Graphics Overrides dialog box, you can select the box below the list to show all Revit categories. Project parameters can be added to multiple categories, allowing you to quickly add information to multiple objects.

When you add a parameter to your project and it is applied to elements in the chosen category, the parameter will not have a value. The parameters can be easily given values by creating a schedule of the elements and including the project parameter(s) in the schedule.

Yes/No type parameters will be set to Yes (checked) by default and appear to be uneditable when they are viewed in a schedule or the properties of an element. You can click the grayed-out check box once to make it editable.

Parameters in Schedules

Family parameters and some coded parameters cannot be used in schedules. If you do not want to use shared parameters in your families, you can create project parameters for scheduling information about components. In the Schedule Properties dialog box at the center of the Fields tab is an Add Parameter button, as shown in Figure 19.14. Clicking this button opens the Parameter Properties dialog box just like when working in a family, but instead of the Family Parameter option, you have the Project Parameter or Shared Parameter option (see Figure 19.15).

Schedule Properties dialog box for adding parameters

Figure 19.14. Schedule Properties dialog box for adding parameters

Parameter Properties dialog box

Figure 19.15. Parameter Properties dialog box

As you can see in Figure 19.15, there is no choice for a category in this dialog box because the parameter will be applied to the category of the schedule. All elements within the category will get the parameter even if they are not in the schedule. For example, if you are creating a Mechanical Equipment schedule that will only include VAV units and you create a parameter within the schedule, it will be added to all mechanical equipment.

Use of the Calculated Value feature of a Revit schedule will create a parameter to hold the value, yet this parameter is not added to the elements in the schedule.

Whether they are shared parameters or not, project parameters are required for scheduling system families such as duct, pipe, or cable tray. It is easiest to create these parameters when you are building the schedule for such elements. Once the parameter is created, you can access it from the Project Parameters button on the Manage tab to add it to other categories or make any necessary changes. Creating these parameters in schedules within your project template will ensure that they are consistently used from project to project.

One useful type of project parameter to create is for the schedule type of an element. This parameter can be applied to any category that is scheduled and is very useful for filtering your schedules. There is no need for this to be a shared parameter since it is not information that you will be tagging in your construction documents. This kind of parameter should be included in your project template to ensure consistent use and coordination with any preestablished schedules you have in your template(s).

Creating and Using Parameters in Families and Schedules

Understanding how to use parameters to get the information you require is the key to successfully reaping the benefits of a BIM solution. Knowing where and when to use certain types of parameters will make it easy for you to manage the data within your Revit projects.

  1. Download the Ch19_Project.rvt and Ch19 Shared Parameters .txt files found at www.wiley.com/go/masteringrevitmep2011.

  2. Open the Ch19_Project.rvt file. Open the VAV SCHEDULE view. Access the Fields tab of the Schedule Properties dialog box, and click the Add Parameter button.

  3. Create a Project parameter called Schedule Type with the following settings:

    Instance

    Discipline: Common

    Type Of Parameter: Text

    Group: Identity Data

  4. Click OK to exit the Schedule Properties dialog box. For each VAV listed in the schedule, enter a value of VAV for the schedule type.

  5. Access the Filter tab of the Schedule Properties dialog box. Apply the following settings:

    Creating and Using Parameters in Families and Schedules
  6. Click OK to exit the Schedule Properties dialog box. Notice that now only the VAVs are listed in the schedule. Click the Project Parameters button on the Manage tab of the ribbon. Notice that the Schedule Type parameter is now a project parameter that will be added to any mechanical equipment loaded into the project. Exit the Project Parameters dialog box.

  7. Open the 1 – Lighting ceiling plan view. Click one of the light fixtures in the view, and click the Edit Type button in the Properties palette. Notice the Ballast Voltage parameter in the Electrical group. Click OK to exit the Type Properties dialog box.

  8. Open the LIGHTING FIXTURE SCHEDULE view. Access the Fields tab of the Schedule Properties dialog box. Notice that the Ballast Voltage parameter that exists in the lighting fixture family is not listed in the Available fields list, because it is a family parameter.

  9. Click the Add Parameter button on the Fields tab of the Schedule Properties dialog box.

  10. In the Parameter Properties dialog box, select the Shared Parameter option, and click the Select button.

  11. Click the Edit button in the Shared Parameters dialog box. Click the Browse button in the Edit Shared Parameters dialog box, and browse to the downloaded Ch19 Shared Parameters.txt file location. (Note: If you have never selected a shared parameters file, you will be asked to select one. Browse to the location of the downloaded file.)

  12. Set Parameter Group to Lighting Fixtures. Click the New button under Parameters on the right side of the dialog box.

  13. Create a new parameter named Fixture Voltage. Set Discipline to Electrical. Set Type Of Parameter to Electrical Potential. Click OK to exit the Parameter Properties dialog box. Click OK to exit the Edit Shared Parameters dialog box.

  14. In the Shared Parameters dialog box, set the parameter group to Lighting Fixtures. Select the Fixture Voltage parameter from the list, and click OK to exit the Shared Parameters dialog box.

  15. In the Parameter Properties dialog box, select the check box in the lower-left corner to add the parameter to all elements in the category. Set the parameter as a type parameter, and click OK to exit the dialog box.

  16. Notice that the Fixture Voltage parameter is now in the Lighting Fixture schedule. You can now input values for voltage into the parameter.

View and Sheet Parameters

Views and sheets are system families, so you need to use project parameters to include additional information or functionality in them. This type of information may be necessary for construction documentation or simply for organizing your project for more efficient workflow. Depending on their use, these parameters may need to be shared parameters.

One of the more common parameters for views is the Sub-Discipline parameter. This parameter allows you to assign a sub-discipline value to the properties of any view to establish a secondary level of organization within the Project Browser. This parameter is already established in the default template files provided with Revit MEP 2011.

Much of the information that appears on a sheet border is common to every sheet. If the parameters that hold this information were unique to each sheet, it would be very time-consuming to make certain changes. Project parameters that are applied to the Project Information category can be included in your titleblock so that the value can be changed in one location and globally updated to all sheets.

One example is for total sheet count. Including this information on a sheet as an editable parameter would require creating a shared parameter. A label of this parameter could then be placed within the titleblock family. The shared parameter could then be added as a project parameter applied to the Project Information category, as shown in Figure 19.16.

Project parameter for sheet total

Figure 19.16. Project parameter for sheet total

Notice that the parameter is an instance parameter. You cannot create type parameters for the Project Information, Sheet, or View categories.

When the project information is edited, the value will be updated on every sheet in the project. Figure 19.17 shows this example on a titleblock in a sample project.

Shared parameter used on a sheet

Figure 19.17. Shared parameter used on a sheet

Combining the power of shared and project parameters can give you the ability to report, tag, or schedule any data within your model or about your project in general. Once you understand how to use parameters effectively, the real work becomes managing them for consistency and accuracy within your projects.

The Bottom Line

Manipulate the properties of parameters

The parameters used to define the properties of elements have properties of their own that define the behavior of the parameters and how they can be used.

Master It

It is important to know when and where parameters can be used for extracting data from the model or project. It is also important to understand how instance and type parameters are used. Describe how the use of instance and type parameters affects the way data is changed in a family.

Work with parameters in families

Parameters created in family files are useful for defining the geometry of a family and also for assigning engineering data to the family.

Master It

Certain families can have multiple family types. If a family has many types, all of them will be loaded into a project when the family is loaded. What can be done to limit the number of family types that are loaded when a family is inserted into a project?

Work with shared parameters

Shared parameters are very useful because they can be used in schedules and in annotation tags. Shared parameters can be applied directly to families or added as project parameters.

Master It

Managing shared parameters is as important as managing your component libraries. Explain the importance of keeping a common shared parameters file for multiple-user environments.

Use parameters in project files

The use of parameters is not limited to component families. Parameters can be added to any element that makes up a Revit project.

Master It

Parameters can be added to system families only by creating project parameters. When you create a project parameter, it will be added to all the elements in the chosen category. Explain why managing project parameters is important to using them in schedules within a project.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset