Specifying IFC Entities for Families

Revit exports building elements to an IFC file based on the categories (and subcategories) to which the elements belong. For example, Revit exports a wall to the IFC entity IfcWallStandardCase, because the wall is an element from the wall category. In many cases, exporting elements from Revit to IFC is straightforward and simple, and the default settings make sense.

In some cases, however, you may want to specify the IFC entity to which elements from a particular family should belong. For example, suppose you design an escalator family. It belongs to the Generic Model category, and you create for it a subcategory called Escalator. You want to ensure that when you export a project to IFC, an escalator is properly (and automatically) mapped to the class IfcTransportElement and the type IfcTransportElementType.

To map a family to an IFC entity

  1. Create shared parameters named IFCExportAs and IFCExportType. See Shared Parameters.

    Save these shared parameters to a file that resides in a network location, so that you can add the parameters to other families and projects. You can also use the shared parameter file that Revit makes available (IFC Shared Parameters.txt). See IFC-Specific Files for information on how to access this file.

    For example, in a folder where you store other corporate standard files, create a parameter file named IFCexportParameters.txt. You only need to create these shared parameters once. You can reuse them in multiple families.

  2. Use the Family Editor to create a new family or to modify an existing family. See Families.
  3. Add the shared parameters to the family:
    1. In the Family Editor, click Create tabProperties panel (Family Types).
    2. In the Family Types dialog, for Name, select a family type.
    3. Under Parameters, click Add.
    4. In the Parameter Properties dialog, under Parameter Type, click Shared parameter, and click Select.
    5. Navigate to the shared parameters file that defines IFCExportAs and IFCExportType (for example, IFCexportParameters.txt), and open the file.
    6. In the Shared Parameters dialog, under Parameters, select IFCExportAs, and click OK.
    7. In the Parameter Properties dialog, under Parameter Data, for Group parameter under, select IFC Parameters.
    8. Make sure that Type is selected, and click OK.

      In the Family Types dialog, IFCExportAs displays in the parameter list.

    9. Under Parameters, click Add.
    10. In the Parameter Properties dialog, under Parameter Type, click Shared parameter, and click Select.
    11. In the Shared Parameters dialog, under Parameters, select IFCExportType, and click OK.
    12. In the Parameter Properties dialog, under Parameter Data, for Group parameter under, select IFC Parameters.
    13. Make sure that Type is selected, and click OK.

      In the Family Types dialog, IFCExportType appears in the parameter list.

  4. Specify values for IFCExportAs and IFCExportType:

    When you add the shared parameters to one family type, Revit automatically adds them to all types in that family. Next, you can specify values for each parameter in each family type.

    1. In the Family Types dialog:
      • For Name, select a family type.
      • For IFCExportAs, specify the desired IFC class.
      • For IFCExportType, specify the desired IFC type.
      • Click Apply.
    2. For each of the remaining types in this family, repeat the changes in the Family Types dialog.
    3. When you have defined values for all family types, click OK.
    4. Save changes to the family.
    5. If you want to load the updated family into a project, open the project. Then return to the Family Editor, and click Create tabFamily Editor panel (Load into Project).
  5. Check parameter values in a project (optional):

    You can verify the IFC export parameter values assigned to an element in a project.

    1. In the project, select an element that belongs to a family to which you added the shared parameters IFCExportAs and IFCExportType.
    2. On the Properties palette, click (Edit Type).
    3. In the Type Properties dialog, scroll down to the IFC Parameters group.

      The IFCExportAs and IFCExportType parameters display the values that you specified for the family type. When you export the project to IFC, elements in this family will be mapped to the specified IFC class and type.