By Trevor Clayton
In the previous instalment of Insider, we took you through how to manually add data for use in InfraWorks. So now we want to use that data.
Figure 1, shows an InfraWorks base map with an aerial photograph draped over it and the data source dialog box open. I have imported the SDF file containing the spatial data into the model which you can see at the top of the list of files, however, it is yet to be configured. To configure, just double click the file and a new dialogue will open. The left-hand image of figure 2, shows that I have just selected a generic coverage area to display the polygons.
The important part is that you go to the Table tab to use one of the drop down options to map the data we created in Map 3D to InfraWorks objects. In this case, when I selected the TAG property in the drop down, I get the option to choose a data column from the table I created within MAP 3D.Figure 2
All that needs to be done now is to set up some rules to enable the polygons to be displayed differently according to the data we attached. In other words, create a theme.
To do that, first, we select the Style Rules button from the Create Conceptual Design Toolspace (orange pencil icon). As long as we are consistent with our selections we can then start to interrogate the SDF for our data. Hit the + icon to start a new rule. And then by selecting edit, we can then start to create an expression. Don’t be put off, it looks more complicated than it is. The expression can be as complex or as simple as you require. In this case, I have created a very simple one that uses the data we added within Map 3D.
You can see that from the drop down on the right I have selected ‘TAG’, this is the property we mapped back on the configuration step when we first imported the file. All that needs to be done to finish this step is to create a style for the rule to enable the correct display of the data. Figure 4
Figure 4 shows the completed rule editing dialog box, in this case, I simply added a colour to the rule so that when we apply the rules any polygon that was classed “HIGH” will be coloured red. It is then just a case of running the rules and as if by magic, the applicable polygon is red.
Rules can be copied and edited which makes life so much easier
For further information on this article please call our Sales Team on 01784 419922 or email firstname.lastname@example.org