Category: Revit family parameters

Revit family parameters

25.10.2020 By Magrel

You can create custom parameters for a project, and for any element or component category in the project. Parameters that you create display in the Properties palette or Type Properties dialog under the group you define and with the values you define. The following table describes the types of custom parameters. A family parameter can also be used to control a parameter in a nested family by associating the parameter in the host family to the parameter in the nested family.

Shared parameters can be used when elements in 2 different families are scheduled together. For example, if you need to create 2 different Isolated Foundation families, and need the Thickness parameter of both families scheduled in the same column, Thickness needs to be a shared parameter that is loaded in both Isolated Foundation families.

Global parameters are specific to a single project file, but are not assigned to categories. Global parameters can be simple values, values derived from equations, or values taken from the model using other global parameters. You can also set the position of one element by the size of another element. For example, beams can be driven to consistently offset from the floor they support. If the floor design changes, beams will respond accordingly. They are added to elements by assigning them to multiple categories of elements, sheets, or views.

Information stored in project parameters cannot be shared with other projects. Project parameters are used for scheduling, sorting, and filtering in a project. A project parameter can be used to categorize views within a project. Family Parameters Family parameters control variable values of the family, such as dimensions or materials. They are specific to the family. Family parameters such as Width and Height may be used in a Door family to control the dimensions of the different door types.

Shared Parameters Shared parameters are parameter definitions that can be used in multiple families or projects. After you add a shared parameter definition to a family or project, you can use it as a family or project parameter.

Because the definition of a shared parameter is stored in a separate file not in the project or familyit is protected from change.

For this reason, shared parameters can be tagged and scheduled. If a parameter in a family or project needs to be scheduled or tagged, that parameter must be shared and loaded in both the project or element family and the tag family.

Global Parameters Note: This feature is available only to students and to Autodesk Maintenance and Desktop Subscription customers for Revit software releases. Parent topic: Parameters. Project parameters are specific to a single project file.The parameter name appears in the Family Types dialog. This parameter order will be maintained in the Properties palette instance parameters and Type Properties dialog type parameters for the family when it is loaded into a project.

Use the Family Editor to add shared parameters to families. Start creating a family or open an existing one. In the drawing, select the object. In the Family Types dialog, under the Parameters group box, click Add. In the Parameter Properties dialog, select Shared parameter. Click Select and choose the appropriate shared parameter from the appropriate parameter group. If desired, click Edit; this returns you to the Edit Shared Parameters dialog, where you can open a different shared parameter file or add new parameters.

Choose whether to store the parameter by instance or type. Click OK. Enter a value for the shared parameter or create a formula to calculate its value.

How to Control Family Element Visibility with Parameter

Optionally, in the Family Types dialog, select a parameter and use the Move Up and Move Down buttons to change the order of the parameters within a group. Save the family and load it into a project.

Parent topic: Shared Parameters. Related Concepts Create Family Parameters. Related Tasks Type Properties Reference.Pete Heibel. I find this to be true every day that I use Revit, and want to share one of the most frequent instances in which proper syntax is essential: defining parameters. Leveraging parametric functions in Revit allows you to create intelligent content that responds to both arithmetic and user input.

When creating or editing these parameters, the user is given the option to assign each a formula, enabling constraints or allowing various parameters to respond to each other. Here are 5 formulas and their required syntax that I believe every Revit user must know when creating parametric BIM content in Revit. The concept is simple and something you may have previously encountered in spreadsheet software such as Microsoft Excel:.

I often use this syntax for constraining Length values so that a user cannot enter a value that would break the model. For example, if you were to constrain the minimum height of a table, you might create the following parameters:. The constraint parameter with the formula talks to the parameter that accepts user input. The Height Constraint parameter is the label that is applied to reference lines within the project, and the Height parameter does not need to exist anywhere outside of the parameter list.

If you were to constrain the maximum height of the table as well, the formula could contain the following nested conditional statement:. Conditional statements can be nested indefinitely, allowing you to constrain parameters however you desire. I use the following syntax to automate strings in text parameters such as the built-in Model parameter found in any Family template:. This is simply filling out the Model parameter for us as we adjust the Width parameter, clearly communicating to the user available sizes for that product.

Using this technique allows the content provider to ensure that a user cannot represent a custom product that a particular manufacturer may not provide. In order to add to the functionality of the syntax we have covered so far, we can nest operators such as AndOror Not to create more complex logic.

For example, we could use the And operator to allow a height to adjust based on a width range:. Now to put operators and strings together, we could use the Or operator in the following way:.

In this formula, if either the Width or the Height parameters exceed a maximum value, the user will be notified that what they desire to specify in the model would be a custom size. It looks like this:.

Associate Family Parameters

Again, this can be nested into other formulas as desired. This one is satisfyingly simple, and for some strange reason, one of my favorites! In the past I would have a situation where I would need to lock a text parameter so that the user could not easily change its value. Sometimes, the text itself would need to contain quotation marks. Being as quotation marks are used to enclose strings or textI would often get an error. One obvious work around is replacing the inch quotation marks with two apostrophes.

Therefore, the above formula could be rewritten as:. Finally, I will cover some trigonometric syntax I have only recently learned how to put to use in creating parametric Revit content. Perhaps you have a situation where the hypotenuse or angled portion of a piece of geometry needs to remain fixed but it has a parametric height.

This would require the base of the triangle to shrink as the height increases. But at what rate?By adding new parameters, you have more control over the information contained in each family instance or type.

You can create dynamic family types for increased flexibility within the model. To create parameters. This creates a new family type that will be available in the Type Selector when you load it into a project. After the family is loaded into a project, this value determines which group header the parameter displays under on the Properties palette. By default, new parameters are added in ascending alphabetic order to the parameter list, within the group that you selected when creating the parameter.

This parameter order will be maintained in the Properties palette instance parameters and Type Properties dialog type parameters for the family when it is loaded into a project. You can create new instance parameters or type parameters for any family type. In the Family Types dialog, click New, and enter a name for the new type. Under Parameters, click Add. Enter a name for the parameter. Select a discipline.

Select the type of parameter. See the following topics for reference. Optionally, under Tooltip Description, click Edit Tooltip. In the Edit Tooltip dialog, enter the tooltip text, up to characters, and click OK.

Select either Instance or Type. This defines whether the parameter is an Instance or Type parameter. Optionally, if you selected Instance in step 9, you can select Reporting Parameter. See About Reporting Parameters. Click OK. Optionally, use one of the Sorting Order buttons Ascending or Descending to organize the parameters within their groups into alphabetic order by parameter name.

Optionally, in the Family Types dialog, select a parameter and use the Move Up and Move Down buttons to manually change the order of the parameters within a group. Topics in this section Specify Family Category and Parameters The Family Category and Parameters tool assigns the properties of a predefined family category to the component you are creating. The tool is only available within the Family Editor. Label Dimensions to Create Parameters After you dimension the family framework, you label the dimensions to create parameters.

revit family parameters

Lock Labeled Dimensions In the family editor, you can create labeled dimensions and flex the dimensions to create parametric relationships in the family, then lock the dimensions to enforce these constraints in the finished design.

Create Instance Parameters As you create families, you can specify labeled dimensions as instance parameters. The parameters are modifiable when the family instance is placed in a project.

Add Shape Handles to a Loadable Family You can add shape handles to a loadable family that display when the family is loaded into a project. Use Formulas in the Family Editor Use formulas in family type parameters to calculate values and control family geometry.Sometimes Revit families look familiar one to another.

We can control the families using parameters and create another type. Using dimension to manage the family size is the most common practice. You can have one family, and it can have different sizes. What about visibility? For example, you want to have a sofa with the back but also sofa without a back. Do we have to create two families? No, you can have one family and create two different types. Confused about family types? We are going to create two family types like below. You can use your own family, or download the file here.

This family was built with Revit To enable you controlling the visibility using a parameter, you need to link this property to a parameter. Click New Parameter button. Click OK to close Parameter Properties dialog. In Family Types dialog, change the type then click Apply. You should see the sofa back disappear. Make sure Preview Visibility is On.

revit family parameters

You can use parameters to control element visibility in your family. This control allows you to create fewer families. Personally, I hate to have multiple families when I can have only one. It means when we need to update or modify the family, we only need to do it once.

Common Family Parameters

I work as a Sr. I'm also a member of Autodesk Expert Elite, appreciation for individuals who give contribution to Autodesk community.

Connect with me on twitter or LinkedIn. This site uses Akismet to reduce spam. Learn how your comment data is processed. Delivered by FeedBurner.When creating a common family parameter, specify the parameter type in the Parameter Properties dialog. In the Family Types dialog, under Parameters, click Add.

Revit 2020 Tutorial Instance vs Type Parameters

For Discipline, select Common. For Type of Parameter, select one of the following.

revit family parameters

Name Description Text Completely customizable. Can be used to collect unique data. Integer A value that is always expressed as an integer. Number Used to collect miscellaneous numeric data. Can be defined by a formula.

Can also have real numbers. Length Can be used to establish the length of an element or subcomponent. This is the default type. Area Can be used to establish the area of an element or subcomponent. Formulas can be used in this field. Volume Can be used to establish the length of an element or subcomponent. Angle Can be used to establish the angle of an element or subcomponent. Slope Can be used to create parameters that define slope.

Currency Can be used to create currency parameters. Mass Density A value that represents the mass per unit volume of a material. Material Establishes parameter in which a specific material can be assigned. Image Establishes a parameter in which a specific raster image can be assigned. Divided Surface Type Establishes a parameter with which divided surface components such as panels and patterns can be driven.By associating family parameters, you can control the parameters of families nested inside host families from within a project view.

You can control instance parameters or type parameters. To associate parameters, they must be the same type. For example, associate a text parameter in the host family with a text parameter in the nested family. You can associate a host-family parameter with more than one nested family parameter of the same type. Also, you can associate this parameter with multiple nested families.

To associate family parameters. Gray buttons next to certain parameters indicate that they can be associated with other parameters. For example, if you created a text parameter, you must select a text parameter here.

To edit an instance property, use the Properties palette. To edit a type property, on the Properties palette, click Edit Type. The nested family changes according to the value you entered. To associate family parameters Create a family with instance parameters or type parameters of the available types.

Save the family and load it into a host family. With the new family open, click Create tab Model panel Componentand place as many instances of the loaded family as desired. Click Modify tab Properties panel Family Types.

In the Family Types dialog, under Parameters, click Add. Follow the steps for creating a new parameter of the same type as the parameter you want to control in the nested family. Click OK to close the Family Types dialog. Select an instance of the loaded family in the host family. Click the button next to a parameter that is of the same type as the one you created in Step 6.

In the dialog that displays, select the parameter you created in Step 6 to associate it with the current parameter, and click OK. Note: When you associate 2 parameters, an equal sign appears on the button:. Parent topic: Advanced Loadable Family Techniques.