Fill out the form to keep watching
Having trouble viewing the video?
Some regions or networks may restrict Vimeo playback.
The shift: From running scripts in an editor to running the whole job from a GUI you built.
In the session
- Python GUI wired to MIDAS GEN NX: connect, sync, analyze
- Support reactions pulled into one table
- Prompt structure: role, function list, API documentation link
- ACI 318M-14 shear sizing, drawn back as 0.5 m meshed plates
Stronger outcomes in MIDAS GEN NX workflows begin with improving how support reactions are extracted and read through a Python GUI built for the job.
Your submission has been
successfully received
If you meet the certification criteria,
Your Certificate of Completion will be sent to your email.
If you need urgent support, contact us via
here.
We truly appreciate your participation!
Open Access Has Ended
The open access period has ended.
If you have a MIDAS account, sign in
and complete the access form to watch this session.
Full access is one step away 👀
Complete a short form to continue
Description
| Part 2 of 2Part 1 covers generating a model in Python through the same API. | Watch Part 1 → |
This part takes the API in a different direction, on a different model: an existing mid-rise building with 47 supports. Instead of a script run from the editor, the workflow gets a front end — a Python GUI wired to MIDAS GEN NX through the MAPI key, where connecting to the model, syncing it and running the analysis are buttons in the interface. Service and strength support reactions come back into a single table, every support in one view, next to the design output that follows from it.
The GUI is written with an AI coding agent running inside the IDE, which reads the project files, executes the program, and edits the code in place. The prompt is built as a role statement, a numbered list of the functions the program must perform, and a link to the MIDAS API Python documentation so the agent uses actual function names, with a reviewable plan produced before any file is written. From the extracted reactions, the finished tool sizes isolated footings to ACI 318M-14 for one-way and two-way shear at an allowable bearing pressure of 150 kPa and f'c of 21 MPa, then writes them back into the model as plates meshed at 0.5 m with the support node kept on the mesh.
Reviewing the generated code is treated as part of the workflow rather than an afterthought. The walkthrough shows the foundation engine written for uniaxial bending where biaxial was required, plus two runtime failures — reaction extraction on load combinations, and the drawing step — each fixed by feeding the error back to the agent. The program reached a working state on the third round.
Key Points
Building a Python GUI wired to MIDAS GEN NX through the API
Running the analysis from a button inside the GUI, not the interface
Pulling service and strength support reactions into one readable table
Prompting with a role, a numbered function list, and the API documentation link
Sizing isolated footings to ACI 318M-14 for one-way and two-way shear
Writing footings back into the model as plates meshed at 0.5 m
Speaker