Custom Python scripts in VIKTOR to save time and reduce chance of errors



Python code and the VIKTOR application
Sweco works very hard on simplifying and enhancing the efficiency of their process. They created custom Python scripts for this purpose. Using VIKTOR, these Python scripts are integrated in an application which functions as a user-friendly interface. Centralisation of this data enables multiple people to simultaneously make use of the scripts. The development of this application only took one day!
How to create successful application that ensure adoption
Build successful applications

Learn the process to build apps that provide real value to your work and that other people will definitely want to use as well.

The problem of different versions

With the existing scripts it is possible to read input Excel files consisting of cone penetration test (CPT) data, which are converted to a suitable input for the D-Foundations software. An external package within Python was used for this, however, the different versions of this external package soon became a major obstacle. Colleagues started sharing the Python scripts while they were not all using the same version, making the scripts unusable. A lot of time is wasted trying to debug and fix such problems.

The solution of the Viktor application

The VIKTOR application incorporates these scripts and ensures that all users are working with the same version of the external Python package. Furthermore, the Excel files are centralised in the database and do not need to be sent back and forth between colleagues. This means time savings as well as a reduction in the chance of errors.

“It’s amazing that we are able to develop an application within 1 day, which ensures that everybody uses the same analyses and models. This saves time and reduces the chance of errors.” - Tjeerd Hermsen, BIM manager at Sweco


Related Blog Posts

plotly pandas numpy matplotlib python

Visualize your data with Python and VIKTOR

Read more

Save time by automating PLAXIS in the Cloud

Read more

Hackathon stimulates knowledge development

Read more