In tunnel construction, geometric expression is prioritized by Building Information Modeling(BIM) platforms. Mechanical calculation is weakly supported. Model data exchange is hindered by cumbersome numerical pre-processing. A joint stability analysis workflow is explored in this paper. Revit and Dynamo visual programming were utilized. Composite geological solids were generated from Excel data. Tunnel components were parameterized and assembled. The 3D geometric models were imported into MIDAS GTS NX via *.sat format. Boundaries were simplified and meshes were divided. A numerical simulation of the three-bench excavation in Class IV rock was conducted. Vault displacement data were extracted by Dynamo. These data were reversely written into the BIM attributes. The mechanical response of the surrounding rock is reflected by the results. Significant vault settlement is caused by the excavation unloading effect. An upward heave is observed at the invert. A bi-directional data flow between analysis results and 3D models is established by this method. The difficulty of complex 3D pre-processing is reduced. A reference for digital collaboration in tunnel engineering is provided.