The MassMotion Software Development Kit (SDK) allows users to automate all aspects of the modelling process: from making geometry changes, to extracting bulk results for many scenarios, to modelling entirely custom behaviours.
Building on previous versions of the SDK, Oasys MassMotion 11 enhances capabilities for users by adding many new features in the UI to automate. Many Activities are now exposed through the SDK, in addition to most geometry and analysis objects. This now allows for many new possibilities for automated scenario management as well as model setup and result exporting. Customise data pipelines, write automation routines, and even develop custom tools to integrate MassMotion into larger digital workflows. The SDK works with four languages: python, Java, C#, and C++. For a full list of new SDK features see here.
Script objects allow for a simple gateway to the SDK for those with some python familiarity. Scripts can be easily shared between projects and there are a number of templates to let users get started with the SDK.
The script object can execute any script written in the python language (version 3.7) and has full access to the project through the MassMotion SDK. Without needed Write a script to create portals in the centre of every floor, run multiple simulations and compare the results, switch between different scenarios by enabling/disabling objects, increase agent speed by 10% when a train is about to depart. Scripts can be shared between projects using mmxml import/export. New python native API documentation has been added to the user guide available through the help menu. The Script object and SDK are not available in Oasys Flow.
Register for and view our Oasys MassMotion 11 launch webinar.