May 18, 2012

Defining Material Parameters as Instance Properties

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.

Revit wall instance parameters

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?

Revit simple 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.

Revit family properties panel

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.

Revit material parameter

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.

Revit material parameter definitions

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.

duplicate Revit Material

Check the ‘use render appearance for shading’. This will automatically change the shading color as close as possible to your render material.

Revit Shading Color

And then change the render material by clicking replace button in ‘render appearance’ tab.

Revit Render Material

Do it for both materials.

Defined Revit  Material Parameters

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.

Revit Instance Properties

In the opened dialog box, find the material and finishes category. On the right most of material parameter, click the small button.

Revit Instance Material

Again, Revit open another dialog box. You will see the material parameters we defined before. Select the table top material parameter, and click OK.

Revit Instance Parameters

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.

Advertisement

You might also interested to

  1. Adding Parameters to Revit 3D Family
  2. Creating Profile Parameters
  3. Adding More Void and Solid Forms
  4. Creating Line Based Cabinet
  5. Creating Profile Family

Search for more articles

Custom Search
About Edwin Prakoso

Edwin works as an Application Engineer in Jakarta, Indonesia. He has 4 years experience in building industry, then start to work for Autodesk reseller.
He is certified as Revit Architecture 2010 certified professional and CATIA V5 part design specialist. Currently he is involved as team leader for implementing SmarTeam as PDM in several companies.
You can reach him on twitter @cad_notes. You can also connect with him on LinkedIn. If you prefer email, reach him at edwin.prakoso@cad-notes.com.

  • Ryan

    Thanks so much! Really helped in creating a new family. I was getting really frustrated that my materials werent showing up in the model until I realized from your post that you had to link the parameter to the object :-)

    • http://cad-notes.com Edwin Prakoso

      I’m glad that it helps :)
      Have fun creating your Revit families!

  • Jesse Dombowsky

    This helps, although can I apply a instance parameter to a material of an import object? I have imported a 3d car from auto cad and used the layers (from acad) to control the render materials. This has worked so far but I would like to have multiple colors of that car in my project.