Material switches
What are material switches?
The material switch is functionality that allows materials to be exchanged using options from
the option list. The end user can use options in the viewer to change the appearance of a property
modify the appearance of a property without the need for additional groups in the bag field. In this way, the bag field is kept as compact as possible.
In addition, material changes are also commonly used for Functional
options to, for example, call a property (or) project-specific
materials to be invoked when a basic material is reused more often or several models.
Material substitutions are data-linked to the option list in which they are set up, and are not transferable as separate items to other option lists.
What do you need for a material switch?
There are 4 things you need to set up a material swap, namely:
- A model in a Library
- An option list with a number of options
- A source material
- A target material
What are source and target materials?
A source
material can be defined as: the material you want to exchange for another material.
A target
material can be defined as: the material with which the source material is going to be exchanged.
g2_metselwerk
g2_metselwerk_blauw
A source
material is thus exchanged on the elements for a target
material when a certain option is chosen.
Should you find that when setting a material swap, some elements unintentionally change material with it, it is wise to inspect the elements within Revit and, if necessary, adjust the material on that element.
Setting up a material switch
Setting a material change is always done within the Configurable-Editor
of a model.
Define a base material
- Go to the
Configurable
-Editor of a model. - Create a number of options in the options list. Usually you want to use options of type
Thumbnail
for this. For convenience, put them under one header. - From the
Materials
tab in theContent Browser
, choose theSource
material you want to share. Then drag it onto theMaterial switches
header.
The name of the source
material is now visible under Material switches
.
Connect options and target materials
- Click the name of your
target
material underMaterial switches
and make sure thetype
switch is always set toFull
. - Drag the direct parent header of the previously created options from the options list directly onto your
source
material shown underMaterial switches
. The options located under the header will be created under theMaterial
switch set. - Drag a
target
material from theMaterials
tab into the material drop zone of thetarget
material field. Don't have agoal
material yet? Then create one (or more)!
If all went well, you now have a (first) material switch set up.
source
materialTo switch back to a source
material, you don't necessarily need to keep your own material switch. For this, a simple option is basically
sufficient (such as 'basic masonry'). Since this option can be chosen and no switch is set, the material will automatically fall back
to the source
material.