Hi,
as I wrote, your code will work like in previous versions if you start VREDPro with the command line option
"-insecure_python". You can add it e.g. to the desktop shortcut by right-click on the shortcut -> Properties, there you need to add it to the "Target" which should end up in something like this: "C:\Program Files\Autodesk\VREDPro-11.0\bin\WIN64\VREDPro.exe" -insecure_python.
Another solution would be to use another command line option called "-postpython", which will execute after VRED has launched or loaded a scene (see command line option description: VREDPro.exe --help).
Cheers,
Marcus
Marcus Fritzen
Principal Engineer