MIDAS Open API (Application Programming Interface)

June 22, 2022
BLOG NEWS & TRENDS

MIDAS Open API (Application Programming Interface)

 

 

 

Table of Contents

 

1. Midas Open API (Application Programming Interface) Workflow

2. How to use Midas Open API Within Different Software

3. The Role of User Involvement in the Success of the Design Project

 

 

1. Midas Open API (Application Program Interface) Workflow:



API (Application Programming Interface) is a type of software that provides a connection between computers or between computer programs. Furthermore, API helps interface within the software. There are often misunderstandings of why an engineer wants to implement API. First of all, rather than focusing on the value of the API, it is better to think about the value of the effect it brings. APIs make sense when they provide a channel through which businesses can access the current value in new ways.

 

 
 
Figure 1Figure 1: Midas design automation process
 
 

This process is the first step toward design automation. The user designs a model, then transfers this model information through an API file format to midas Civil (Gen, CIM, or any other software that can receive the API data). The users can receive the structural analysis data with API format files and edit the result tables depending on the project requirements. The users can also use their preferred text editing software such as Excel, Word, etc.

 

These convenience features will help reduce the time and effort civil and structural engineers take to design similar structures and utilize pre-designed models built with 3D modeling software (which offers API) with Midas structural analysis software. Significantly, post-processing, such as calling the result tables or taking analyzed result diagrams, will reduce repeating the work process and help make a better decision. 

 

 
image

 

 

 

For these reasons, worldwide clients are knocking on Midas API door.

 

 

2. How to use Midas Open API within different software


Even now, a lot of civil and structural engineers use semi-API, that is, *.mct file formats. However, midas Civil’s *.mct file acts as a half-function API. Civil engineers make *.mct scripts based on their structures and import them into midas Civil; then structures are created and analyzed. Now, you can guess why I said a half-function initially. If the API file wants to act as a completed function, it needs two things. The first one is the data, and the other one is the operator. The *.mct files don’t have an operator, so that’s why it’s called semi-API.

 

 
Figure 2
Figure 2: JSON format for midas Civil and API interoperability.

 

Then, how do we complete an API? The answer is to add operators! Operators will call data from MIDAS database. APIs connect Request data  Find proper data  Response to the program.

 

 
Figure 3
Figure 3: JSON format for midas Civil and midas CIM interoperability.

 

There is a common language when using API. The most commonly used formats are JSON and XML, and MIDAS IT has chosen JSON as the main programming language. The JSON format is applied to midas CIM to interoperate with midas Civil. CIM is a 3D modeling software for Civil Information Modeling, which will be released overseas soon. CIM and midas Civil transfer the information through JSON. It is possible that users can edit JSON files directly, and the software can import edited files.

 

 

 
Figure 4
Figure 4: Bridge modeling & analysis through API process

 

Like CIM and midas Civil interoperability method (transferring model information through JSON files), other 3D modeling software and midas Civil can transfer data for modeling and analysis. We will provide this interoperation for any Midas programs that can utilize it in the same way. The JSON format is readable for both humans and computers, and we are sure it won’t be difficult for first-time users.

 

The users can utilize APIs as many as users want. Midas engineers also expect how users will broaden a range of applications of Midas API and apply our software with others for the AI design systems.

 

3. The Role of User Involvement in the Success of the Design Project


 

Midas API opens the gate to transfer JSON data format for users to expand their availability. We’ll explain the user involvement part within the whole API design procedure from this part.

 


 
 
Figure 5
Figure 5: Command the function execution to import/export data using JSON script
 

 

This chart explains users’ roles when using Open API. It looks complicated; however, traditionally, most of the processes have been conducted by structural engineers. We only added a Civil API process (converting data to JSON format). Midas Civil opens pre, and post-processing data and operators to connect users’ 3D modeling and report forms. This process is just the beginning of applying design automation systems. 

 

 

 

4. Concluding


 
 

Midas Open API will soon be open to all of our users. Our team of engineers and developers is currently working hard to develop API modules for an effective work process. We would like to hear your opinion and thoughts so please feel free to write in the comment section below on anything you would like to know about the upcoming Midas Open API.

Subscribe S.O.S Newsletter

About the Author
Keun Hyup Lee | Technical Specialist | MIDAS IT HQ

Keun Hyup is a Technical Support Engineer within MIDAS IT in South Korea. He graduated from Georgia Institute of Technology with a degree in civil engineering focused on structural engineering. Keun is interested in the design of bridge and civil structures and has worked with various international projects around the world.

Comments