Revit LT exports building elements to an IFC file based on the categories (and subcategories) to which the elements belong.
For example, Revit LT 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 LT 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
- 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 Access 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.
- Use the Family Editor to create a new family or to modify an existing family. See Revit Families.
- Add the shared parameters to the family:
- In the Family Editor, click Create tabProperties panel (Family Types).
- In the Family Types dialog, for Name, select a family type.
- Under Parameters, click Add.
- In the Parameter Properties dialog, under Parameter Type, click Shared parameter, and click Select.
- Navigate to the shared parameters file that defines IFCExportAs and IFCExportType (for example, IFCexportParameters.txt), and open the file.
- In the Shared Parameters dialog, under Parameters, select IFCExportAs, and click OK.
- In the Parameter Properties dialog, under Parameter Data, for Group parameter under, select IFC Parameters.
- Make sure that Type is selected, and click OK.
In the Family Types dialog, IFCExportAs displays in the parameter list.
- Under Parameters, click Add.
- In the Parameter Properties dialog, under Parameter Type, click Shared parameter, and click Select.
- In the Shared Parameters dialog, under Parameters, select IFCExportType, and click OK.
- In the Parameter Properties dialog, under Parameter Data, for Group parameter under, select IFC Parameters.
- Make sure that Type is selected, and click OK.
In the Family Types dialog, IFCExportType appears in the parameter list.
- Specify values for IFCExportAs and IFCExportType.
When you add the shared parameters to one family type, Revit LT automatically adds them to all types in that family. Next, you can specify values for each parameter in each family type.
- 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.
- Repeat the previous step to define the IFC parameters in Family Types dialog for each of the remaining types in this family.
- When you have defined values for all family types, click OK.
- Save changes to the family.
- 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).
- Check parameter values in a project (optional).
You can verify the IFC export parameter values assigned to an element in a project.
- In the project, select an element that belongs to a family to which you added the shared parameters IFCExportAs and IFCExportType.
- On the Properties palette, click (Edit Type).
- 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.