We just noticed that with the new update 2021-1-4 installed you may get following error message, if you try to open any existing script with VS. An example of the error message looks like:
Failed loading file FilePath\Filename.pyp. Error message: Could not find text with ID=1222 in C:\ProgramData\Nemetschek\Allplan\2021\Etc\VisualScripts\InputControls\Slider\Slider_eng.xml. Exception message: Could not find text with ID=1222 in C:\ProgramData\Nemetschek\Allplan\2021\Etc\VisualScripts\InputControls\Slider\Slider_eng.xml.
It happens if VS isn't started in the German version of Allplan. It is caused by some missing translation file for nodes slider. A quick fix/workaround is to duplicate the Slider_deu.xml (the German translation file), and to rename the new duplicated file based on the language you use. E.g., Slider_eng.xml for English version or Slider_ita.xml for Italian Version, etc. The new file should be placed unter the same folder, where the Slider_deu.xml is located.
This is only a temporary solution to bypass the error message, so that you can still use VS. We will fix the problem ASAP.
We are really sorry for this.
Product Owner – Visual Scripting