Support Forum

[Frage] Visual Scripting - Function ExecVisualScript [Gelöst]

Schlagworte:
  • Allplan
  • 2025
  • Visual
  • Scripting

Hi Everyone,

I am publishing the Question in English in order to be usefull for other users around the world. This question was already placed in 2023 but i found no answer - please see attached Photo. I got the message on the attached pictures. Could someone help and tell me how should be given the Input? or maybe the Allplan Team could help with it. I tried to find an answer at the provided examples in Github but regretfully nothing that could really clarify the thing.

Thank you all in advance

Cheers

Anhänge (3)

Typ: image/jpeg
21-mal heruntergeladen
Größe: 112,46 KiB
Typ: image/jpeg
52-mal heruntergeladen
Größe: 60,94 KiB
Typ: image/jpeg
35-mal heruntergeladen
Größe: 52,75 KiB

Lösung anzeigen Lösung verbergen

Hello

Have a look at the examples in the folder "Examples\VisualScripting\ScriptInScript".
For example "FixtureScriptPlacement.avsprj"
The “VisualScriptPalette” node is also used there. The file name must be with the extension.

The file "VisualScripting\BoXX.pyp" is located in the directory "MyProject.prj\Library\VisualScripting"

Greetings

Anhänge (1)

Typ: image/png
16-mal heruntergeladen
Größe: 55,02 KiB

Hello

Have a look at the examples in the folder "Examples\VisualScripting\ScriptInScript".
For example "FixtureScriptPlacement.avsprj"
The “VisualScriptPalette” node is also used there. The file name must be with the extension.

The file "VisualScripting\BoXX.pyp" is located in the directory "MyProject.prj\Library\VisualScripting"

Greetings

Anhänge (1)

Typ: image/png
16-mal heruntergeladen
Größe: 55,02 KiB

Hi @hrsommer actually i find that totally dumb from my side i even asked the question but what is really cool is that i can even have my *.pyp in any location and it will work as long states in the pyp the location of the avsprj... anyway Thanks