Support Forum

[Frage] Problem with changing reinforcement bars diameters in Visual Scripting Allplan 2024 [Gelöst]

Schlagworte:
  • Allplan
  • 2024
  • Visual
  • Scripting
  • Diameter
  • Reinforcement
  • Bar
  • Problem

Hello everyone,

I am a begginner in Allplan Visual Scripting and I have a problem for changing the diameter of the reinforcement bars.
When I link the "BarDiameterComboBox" to "LongitudinalBar" to enter a diameter, the message "Failed to update value from palette. Exception message: Object reference not set to an instance of an object." appearing (Picture 1). And then I can't create the object in Allplan (Picture 2).

Does anyone have a solution to this problem?

Thanks in advance

Anhänge (2)

Typ: image/png
53-mal heruntergeladen
Größe: 85,48 KiB
Typ: image/png
29-mal heruntergeladen
Größe: 4,47 KiB

Lösung anzeigen Lösung verbergen

I finally managed to solve this problem. All I have to do is run the script a second time (without stopping it with the red square) and the "create objects in allplan" button can be clicked again.

I finally managed to solve this problem. All I have to do is run the script a second time (without stopping it with the red square) and the "create objects in allplan" button can be clicked again.