Skip to content

VisualScripting

VisualScripting is a no-code feature of allplan to create PythonParts. The user can visually code his PythonPart, without necessarily knowing any programming language.

An interactor PythonPart can execute a PythonPart created using Visual Scripting. This makes it possible e.g., to use existing VS-PythonPart scripts and combine them with the placement functionality provided by an interactor PythonPart.

The integration of the VS-PythonPart in the interactor script can be done by using VisualScriptService. This service class allows to:

  • load and initialize the VS-PythonPart script
  • load and save the favorite data
  • process the parameter modification and the control events
  • get the created elements for the preview drawing
  • create a PythonPart from the script

Example on GitHub

For a complete usage of VisualScriptService, see the example ExecuteVisualScript ( PYP | PY)

Placeholder