In this Article...
Let us continue to explore creating our own Revit family further. We have created families with parameters. All of the parameters are type properties.
What is instance properties? Let’s take a look this wall instance properties.
Instance properties define how a single object is placed in Revit. An object in an instance. They only control an instance. When you change the wall base offset, then only the wall you selected will be offset. When you change the wall height, then only that particular wall is changed.
So what about the type properties? Every instance that use the same family type will be affected. If you add one more layer to your wall type, then every wall will be updated with the new definition.
Let us try to add instance parameters to our Revit family. We will pretend this table can have different material finish. Do you still have this table?
If you don’t keep it, you can download it here. Open the table.
Creating Instance Parameters
From your ribbon, access the types properties.
In the opened dialog box, parameters section, click add. Give this new material name: ‘table top material’. Change the group parameter to: ‘materials and finishes’. Change the type of parameter to: material. And don’t forget to change the parameter to instance.
Create another parameter named ‘table bottom material’. Use the exact same properties with the previous. You should see them both in Revit family types dialog.
Creating Material Definition
Next, we are going to change the material value to distinguish them both. Click the button next to ‘by category’.
We don’t have many materials defined here yet, so click duplicate to create a new material definition. Give it a name, you can use ‘wood’ or something else you like.
Check the ‘use render appearance for shading’. This will automatically change the shading color as close as possible to your render material.
And then change the render material by clicking replace button in ‘render appearance’ tab.
Do it for both materials.
Applying Parameters to Objects
Now we need to tell Revit, which object will be using the parameters. Activate modify tool, and select the table top.
From the contextual ribbon tab, click instance properties.
In the opened dialog box, find the material and finishes category. On the right most of material parameter, click the small button.
Again, Revit open another dialog box. You will see the material parameters we defined before. Select the table top material parameter, and click OK.
Repeat the step above for the table bottom. Save this Revit family, and try to load it to a project.
Testing the Family in a Project
We defined several parameters in the Revit family. To see the difference between instance and type parameters, place several tables in this project.
Try to change the table width, and observe what happen. And also try to change the table materials. Compare the changes between instance and type properties.