Allplan 2022-1-7 Visual Scripting Changes & Improvements

Schlagworte:
  • 2022-1-7
  • Tooltip
  • Canvas
  • Zoom

TLDR

  • Selected geometry on the tooltip will be highlighted in Allplan.
  • Tooltip will display unit based on the setting in Allplan.
  • Canvas zoom level indicator.

Geometry Highlight
If a user selects geometry objects on the tooltip, they will be highlighted in the Allplan viewports. That will help you to understand the data and their order inside that node.
loading
Known issues:
If a node has multiple outputs, this function might not work.

Unit Display
Length and angle values will show its unit on the tooltip. Currently, it follows the unit of the Allplan. The value in brackets is the internal double value of that length or angle value in Allplan. It will help you to understand some basic datatypes in VS Editor. Based on the type of the value, it will be displayed on the tooltip differently. Check the example below:

String:  'this is a string'
Integer: 1
Double:  2.000
Length:  3.0m (3000.0)
Angle:   45.0° (45.0)

loading
Known issues:
  • For a port which support multiple type (i.e., those from the node OperationAddition), it is currently not possible to show the unit.
  • Internal value for angle in Allplan is degree instead of the more common radian (i.e., in Python).

Zoom Level Indicator
The zoom in and zoom out buttons on the top right corner are now removed. Instead, a new zoom level indicator is introduced to check and change the current zoom level of the canvas. Currently we support zoom level between 5%-200%.
loading

Product Owner API, Allplan GmbH

Anhänge (3)

Typ: image/gif
45-mal heruntergeladen
Größe: 128,02 KiB
Typ: image/png
42-mal heruntergeladen
Größe: 14,22 KiB
Typ: image/gif
39-mal heruntergeladen
Größe: 337,64 KiB

Thanks! really useful improvements