What's new in VIKTOR (April 2023)

VIKTOR

by VIKTOR

The time has come for April's platform update. For this month, we have been working on a major SDK release with new features, such as non-interruptive user messages and the addition of the ColorField. Additionally, we published a tutorial that outlines how to implement report generation in a VIKTOR app. Does this sound interesting? Keep reading for more information on this month's changes.

Major SDK release: v14 is available!

Following our release schedule, we just released a new major version: SDK v14.0.0!

This new version contains two main features which we will be highlighting in this newsletter: UserMessage and Colorfield.

Besides these new features, this release also serves as a clean-up moment to remove previously deprecated functionality. Click here for the upgrade guide v13 → v14.

We noticed some VIKTOR users have not yet upgraded their apps from v12 to the latest SDK version. That is why we decided to extend the support period for v12 with 3 months. Please make sure to update any apps running on v12 before the end of July.

If you have any questions or encounter any problems, please reach out to the community.

CTA_Join the community

Non-interruptive user messages

Next to progress messages and UserErrors, we have added another method for informing the end user: non-interruptive user messages. There are three different types you can choose from: a 'warning', 'information' or 'success' message. Contrary to the UserError, when users receive this message type, their calculation will continue. This can come in handy when, for example, a certain sub-result can not be calculated or to confirm that the validation job succeeds.

Non-interruptive user message are shown are persisted in the job log and can be looked back in the interface. Visit the documentation to learn more.

non_interuptive_messages (1).png


Visually select colors with the ColorField

For the release of SDK v14, we have added a new field to the SDK that allows end-users to easily select their desired color. With the ColorField, end-users can visually select colors in your applications instead of using RGB values, HEX color code, or any predefined color options.

Visit the documentation to learn more about the ColorField.

colorfield-loop.gif

Tutorial: Automatic reporting

We have written a tutorial that outlines how to implement report generation in a VIKTOR app. In this tutorial, we explain how you can:

  • Automate report generation
  • Download reports as a Word document from the app
  • Convert reports to PDF
  • Visualize the PDF reports in the app

In the future, we will be adding more tutorials like this that explain step-by-step how to use certain features. If you have any recommendations or questions, please let us know in the community forum. Click here to start now!

Other changes

SDK

  • SDK v14.0.0 is now available!

PLATFORM

  • Changed unpublished apps to not be selectable in workspace creation
  • Fixed geometry view exports when the source file is .gltf
  • Fixed showing the create workspace button when the user does not have the correct permissions
  • Improved readability of OutputField
  • Added descriptions to the different metrics in the activity dashboard
  • Updated message in the job log and added a fallback for Step jobs without a label
  • Fixed bug that made the workspace archives button not clickable
  • Fixed broken summary item sorting for simple app types
  • Fixed TableField defaults not being applied in the right order in public workspaces
  • Fixed wrong environment name in error message when launching the demo app
  • Improved error message on entity selection fields when entity_type_names are defined incorrectly

CLI

  • CLI version v0.29.3 is now available
  • Bugfix for incompatible NumPy version in demo app with Python 3.7
  • The CLI raises an error when viktor is defined with a hashtag for SDK versions >=14.0.0
Share

Related Blog Posts

5 powerful Python libraries every Structural Engineer should know

Read more

6 Ways to improve your SAP2000 and ETABS workflows

Read more

How to use Python to automate SAP2000

Read more
Get our best content in your inbox

Subscribe to our newsletter and get the latest industry insights

Customer Cases

Blog Posts

White Papers & Guides