The reasonableness and accuracy of engineering design are often assessed through the use of a variety of structural design analysis software, which are then compared and verified. However, it is challenging for a single analysis software to meet the diverse and complex design requirements. In order to meet the specific engineering requirements, it is necessary to convert the MIDAS result model into an ANSYS structural model and conduct a nonlinear analysis and simulation in ANSYS. Nevertheless, the existing interface is unable to facilitate direct conversion of the model. Accordingly, this paper presents a Python-based ANSYS APDL program that enables the complete conversion of MIDAS GEN structural models to ANSYS finite element models. The program is capable of converting a range of data, including material, section, element, connection, load, node mass, constraint, time history function, and so forth. The program is capable of converting specific connection units, including elastic and general connection units. Additionally, the beam-column section direction, beam end freedom release, rigid element, and special anti-rocking structure of the structure can be considered. Ultimately, the theatre model is transformed. Following a comparison of the analysis results, it was found that the mass and mode of the model before and after the transformation were essentially identical. The maximum error of the first six orders of the structure is 2.95%, with the structural displacement under gravity load remaining essentially unchanged. The research and analysis demonstrate the accuracy and reliability of the MIDAS GEN conversion ANSYS program. The conversion program significantly reduces the time required for direct modeling in ANSYS, enhancing work efficiency. The study has considerable practical significance for the seismic sway design and analysis of buildings based on vibration isolation design.