- Messages
- 1,350
- Country

Your error may be due to the registry entry for P3D
You may also need the updates from my previous post about filename issues. I suggest you go back to blender 2.73 maybe even 2.6x not sure.
There is also a spot in the export_fsx.py file.
Code:
try:
# For P3D Windows 64 bit
handle=OpenKey(HKEY_LOCAL_MACHINE, 'SOFTWARE\Wow6432Node\Lockheed Martin\Prepar3D v3 SDK')
(sdkdir,t)=QueryValueEx(handle, 'SetupPath')
bpy.context.scene.fsx_modeldefpath = ''.join([sdkdir,"Modeling SDK\\bin\\modeldef.xml"])
handle.Close()
except FileNotFoundError:
# For P3D Windows 32 bit
handle=OpenKey(HKEY_LOCAL_MACHINE, 'SOFTWARE\\Lockheed Martin\Prepar3D v3 SDK')
(sdkdir,t)=QueryValueEx(handle, 'SetupPath')
bpy.context.scene.fsx_modeldefpath = ''.join([sdkdir,"Modeling SDK\\bin\\modeldef.xml"])
handle.Close()
You may also need the updates from my previous post about filename issues. I suggest you go back to blender 2.73 maybe even 2.6x not sure.
There is also a spot in the export_fsx.py file.
Code:
try:
# For P3D Windows 64 bit
handle=OpenKey(HKEY_LOCAL_MACHINE, 'SOFTWARE\\Wow6432Node\\Lockheed Martin\\Prepar3D v3 SDK')
(sdkdir,t)=QueryValueEx(handle, 'SetupPath')
handle.Close()
except FileNotFoundError:
# For P3D Windows 32 bit
handle=OpenKey(HKEY_LOCAL_MACHINE, 'SOFTWARE\\Lockheed Martin\\Prepar3D v3 SDK')
(sdkdir,t)=QueryValueEx(handle, 'SetupPath')
handle.Close()






