2011

Table Of Contents
The Materials by Property template enables you to specify a property within the model scene. If a material
has the same name as the specified property value in the model, then all items having that property will
receive this material from the palette when you select the rule Materials by Property, and click Apply.
4 In the Rule description box, click on each of the underlined values to define your custom rule. The customizable
values available with the built in templates are:
Name. Use the name of the category or property as it is displayed in the interface (recommended). You
can also choose Internal Name, which is accessed via the API (for advanced use only).
'<category>'. Choose from the available list, which category the property you want to define is in. Only
the categories that are contained in the scene are available in the drop down.
'<property>'. Choose from the available list, which property you want to define. Again, only the properties
in the scene within the chosen category will be available.
5 Click OK.
The Presenter Rules Example
To follow this procedure, open the file called gatehouse_pub.nwd located under the Examples\Gatehouse folder
in the Autodesk Navisworks installation directory.
Let's assume, you want to apply window glass material to all gatehouse items with material property of AutoCAD
Color Index 9, and red brick material to all gatehouse items with material property of AutoCAD Color Index 32.
The following procedure describes the necessary steps to achieve this, using the Presenter rules.
To apply materials with the custom Presenter rules
1 Open the Presenter window, and click the Rules tab.
2 Create a rule called Color Index 9, based on the materials by property template:
a From the Rules tab of the Presenter window, click New.
b Enter the rule name Color Index 9.
c Choose the Materials by property template.
d Click '<category>' and choose Material from the drop-down list and click OK.
e Click '<property>' and choose Name from the drop-down list and click OK.
f Click OK to save the custom rule.
3 Create another rule called Color Index 32 using the same settings as before.
380 | Chapter 14 Create Photorealistic Visualizations