Infraworks Style Rules

Style Rules can be used in Infraworks to control the style of multiple objects.

You can make the style dependent on the properties of the object or choose from a selection of styles at random with a certain probability. This blog post will show a couple of simple examples with possible uses of the style rules.

Randomise styles

In the first case, we will randomise the appearance of the cars in our Infraworks model. A similar approach could be employed to modify the façade style of a group of buildings or to change the style of a stand of trees.

We start by creating a row of vehicles. Initially, all of them will be assigned the same style.

Open the ‘Style Rules’ palette from the extended ‘Display’ panel in the ‘Manage’ tab of the ribbon.



Navigate to the ‘City Furniture’ tab and click on the ‘+’ button to create a new style rule.



After typing a name for the rule, the ‘Rule Editor’ dialog displays. Add a few vehicles in the ‘Styles:’ section and assign a probability to each of them. With the values shown below, approximately half of the cars will be red and the other half will be evenly distributed among the other three models.



Optionally, you can export the rules to a JSON file that you can then import into other Infraworks models (see A below). There is also an option to export all the rules of all types (B). You will need to commit the changes into the database (C) first if you wish to use this option.

You can now apply the rules by clicking on the ‘Run rules’ button.



There is one more step for the rule styles to display. If a manual style has been applied to an object, it will override the rule style. We need to change the manual style for all the vehicles to ‘None’ in order for the rule style to be used.

If you do not have any other city furniture in the model, you can use the ‘Select all’ option from the right click menu in ‘Model Explorer’ to select all the vehicles. Otherwise, ‘Filter Select’ can help you select a group of objects that share common properties.


With all the vehicles selected, change the ‘Manual Style’ to ‘None’.

The rule styles should now display.

Property based styles

In our second example, we will apply a different colour to the buildings depending on their height. We could equally apply a more realistic style to the façade or set a style to the roads according to their type.

This time the style rule needs to be created in the ‘Buildings’ tab. Add the colour to be used in the ‘Styles:’ area and use the corresponding button to edit the expression that will determine the condition that needs to be met.

Build the expression by combining properties and operators from the left panel, as shown below. If you click on the button on the bottom right corner, a panel will be visible on the right hand side that will display the values that the selected property takes for all the objects in the model.


In this instance, we create three rules for buildings over 100 m to show in red, below 30m in green, and buildings between 30 m and 100 m in yellow.

Run the rules, select all the buildings, and set the ‘Manual Style’, ‘Base Color’ and ‘Roof Material’ to ‘None’. You can do this in a separate proposal if you also want to keep the original styles.

The result will show the buildings colour-coded according to the ranges of height that we specified.

If you need assistance with your models, whether its establishing style rules, creating models, or supporting your activities, explore our consultancy services and talk to us today.


Sovelia Vault: The Smarter Way to Manage Design Data

04 November 2025

If you are an Autodesk Vault user in the mechanical engineering and manufacturing industry, you are likely familiar with the challenges of managing design data. While Vault provides a solid foundation for storing and organising design data, it falls short in some critical areas. You might have noticed this if you ever wanted to automate workflows or configure company-specific rules and processes in Vault. Let’s dive into these challenges and possible solutions. 

5 Tips to Work Smarter in Autodesk Vault

03 November 2025

Sovelia Vault is an automation platform for Autodesk Vault, providing enhanced flexibility, control, and customisation. Discover 5 tips to work smarter and streamline your Autodesk Vault workflows with Sovelia Vault.

Cybersecurity Starts with Awareness

27 October 2025

Discover the hidden cybersecurity risks many businesses overlook—from improper data disposal and insecure API integrations to forgotten digital footprints left by former employees. Learn practical steps to reduce your exposure and protect sensitive data. Plus, get expert insights and register for our upcoming webinar on data security and compliance in Autodesk’s new regional hubs.