Error message: Can't find module `vormain`

This article describes solutions for the error message: Can't find module `vormain`.

Sign: 

Cause:

This error message is a classic Plant3D error message. The reason for this is an incorrect migration of the content folder.

Up to version 2021, the storage location for Plant3D's standard scripts was within the content folder. From version 2022, the scripts were placed in the Plant3D installation path.

If the content folder was not migrated correctly and the 2021 content folder was simply used in higher versions instead, this error message may appear when executing the "PLANTREGISTERCUSTOMSCRIPTS" command.

Solution:

We recommend using the original content folder of the respective installation here. Added pipe classes should be able to be copied into the new content folder without any problems.