Ideate: 888.662.7238 | Imaginit: 415.593.6000
Author: Matt Miyamoto InfraWorks

Ideate Inc. has been part of the InfraWorks Participatory Design Council for a while now, and that has given us a chance to pick the brains of some of Autodesk’s best technical specialists to find out how to do things that we (and our customers) have been asking about. Here’s one of my favorites…

Anyone who has been using Autodesk InfraWorks and InfraWorks 360 will know by now that the defaults in the program generate cornered buildings and rounded ground and water features. In reality, we also know that buildings can be round, and water and ground coverage areas can have corners.

Although there is no built-in option from any menu that allows you to control this setting, there is a variable within the InfraWorks resource files (.JSON) that controls the value for corner radii.

The value is called SmoothParam, and can be found in the .JSON files for the respective elements. Building settings are in the Buliding.JSON file and Water settings are in the Water Area.JSON file. The files themselves are saved as part of the individual InfraWorks model’s backup files, so you may have to do some digging to get to the folder.

A typical path would be: <InfraWorks Models Folder>\<Model Name>\.files\unver\DrawTools  

The key folders to look for are <Model Name>.files, which are generated for every model, and the unver/DrawTools folder inside of that location that contains all the .JSON files. The image below shows the .JSON files for a model named Spreckles that was saved to my Autodesk InfraWorks Models folder.

 

 

Once you find these files, open the one you want using Notepad, and modify the SmoothParam value to adjust the corner settings for those elements. When working with .JSON data, there are some important things to know.

 

  1. .JSON files are generated for the model when the elements are added in InfraWorks. For example, if your model does not include (and never has) any water features, the Water Areas.JSON will not exist. You’ll need to create an element of that type first so the .JSON file is generated, then you can edit the setting.
  2. The .JSON files are referenced by the model when the model is originally opened. That being said, any changes you make to variables within .JSON files require you to close and re-open the model before those changes take effect.
  3. The default values to use for SmoothParam are between 0.00 to 0.499. The default value for Buildings is 0.00 to create corners, and 0.499 for Water Areas to create fillets.
  4. You can use any number 0.00 or higher. You’ll get some funky shapes if you get anywhere near or above 1.0, but it is worth checking out just to see what happens.

Here are a couple of samples. In the screenshot below, the SmoothParam for water areas was set to 0.00 and 0.499 for buildings. That produces Rounded buildings and square water features. There’s also a square ground coverage area which was created by setting that SmoothParam value to 0.00 as well.

 


 
The fancier looking buildings below were created in the same model using SmoothParam values between 0.65 and 0.99. Anything above 1.0 gets difficult to control. (I’ve already tried setting it up to 100.)

 

 

At this point, you may also be thinking that there’s got to be an easier way to do this than changing the value, saving, closing and re-opening the model every time you want something to look different. At least that’s what I was thinking.

Fortunately, the Copy and Paste functions work from model to model in InfraWorks. That means you can spend some time creating a handful of custom objects in a file like I did above, then simply copy and paste them into a new model whenever you need it. On top of that, the components you copy remember what SmoothParam value they were created with, so you can edit them accordingly without having to change anything in the new model. You can also use the Add Vertex option after copying to modify the shapes as much as you want.

Now you know how to customize your models a little more to include round buildings and square water or ground coverages. And, you’ve got an idea on how to save some time by creating a sample file with predefined custom elements that you can copy whenever you need them.

Happy modeling!

For more information on the software solutions, training and consulting Ideate provides, please visit the Ideate, Inc. homepage.


      Matt Miyamoto
Matt Miyamoto
ENI Manager & Senior Application Specialist

Matt is an ENI Manager and Senior Application Specialist in Ideate, Inc.’s Seattle office. He has a B.S. in Mechanical Engineering and is a licensed Civil Engineer. Prior to joining Ideate, Matt worked as a civil engineer, using Civil 3D on a variety of projects including site development, roadway improvements and infrastructure design. With over 10 years of experience in the civil engineering industry, Matt now provides training, consulting, technical support, and implementation strategies for organizations transitioning to Civil 3D. Matt is an Autodesk Certified Instructor (ACI), as well as an Autodesk Certified BIM Specialist: Roads and Highway Solutions. Additionally, Matt is and Autodesk Certified Professional for AutoCAD, and AutoCAD Civil 3D. Find Matt on Twitter.