Back in July 2014, Scott Sheppard announced the Project Commuter availability for Infraworks 360. From the main project website, here is the description: Project Commuter can be used for transport analysis — modeling all modes of transport, or it can be used for pedestrian-only analysis in urban spaces — both inside and outside buildings.
Although the main usage is around traffic commute, we also decided to focus this sample on inside building commute, as many employees are living and working at the same building, even at the same space (such as home-office or home-at-office).
Autodesk will allow local customization according to each country (or city) culture (as we understand each social group deals with commute in different ways). And a good way it to allow API customization via custom DLLs loaded into the product, just like other Autodesk products.
To have your local community behavior added to the product, first you’ll need to create a new project on Visual Studio, based on the interfaces available on the DLL inside the product, under TrafficAnalysis folder. As you may notice, it’s a .NET Managed API (the suffix mgd is widely used on Autodesk products).
Now it’s easy to use: just create a .NET 4.5 project on Visual Studio, add reference to the DLL (commuter64mgd.dll) and implement the interface. For this sample, we’ll use the IMorningBehavior interface, which implements human morning behavior. The VS project should look like the following image.
To run this custom code, place the DLL under the same TrafficAnalyst folder, start Infraworks 360, it should automatically load it and recognize the class (via the interface implemented). When you launch Traffic Simulation on Infraworks 360, select “Human Morning Commute” and the DLL will trigger (make sure you select the “Traffic Study Area” as “In Home Behavior”).
As of today, this API is an early pilot, we’re gathering feedback around local cultures. Our social study group would love to hear feedback. For now, you can get first version of the documentation at this link.