- Messages
- 26
- Country

Thank you very much, I can muddle through with what I have!yeah.... that's why you get that error.....
I'll see that I accommodate this in the next version.
Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Thank you very much, I can muddle through with what I have!yeah.... that's why you get that error.....
I'll see that I accommodate this in the next version.




Traceback (most recent call last):
File "C:\Users\Benjamin van Soldt\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Blender2P3DFSX\func_scenery.py", line 150, in execute
tree = etree.parse(path)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 598, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 30
location: E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py:199
location: E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py:199
Error: Traceback (most recent call last):
File "C:\Users\Benjamin van Soldt\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Blender2P3DFSX\func_scenery.py", line 150, in execute
tree = etree.parse(path)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 598, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 30
location: E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py:199
Traceback (most recent call last):
File "C:\Users\Benjamin van Soldt\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Blender2P3DFSX\setup.py", line 209, in execute
bpy.ops.fsx.populate_locations('INVOKE_DEFAULT')
File "E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 199, in __call__
ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Traceback (most recent call last):
File "C:\Users\Benjamin van Soldt\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Blender2P3DFSX\func_scenery.py", line 150, in execute
tree = etree.parse(path)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 598, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 30
location: E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py:199
location: <unknown location>:-1
location: <unknown location>:-1
Error: Traceback (most recent call last):
File "C:\Users\Benjamin van Soldt\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Blender2P3DFSX\setup.py", line 209, in execute
bpy.ops.fsx.populate_locations('INVOKE_DEFAULT')
File "E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 199, in __call__
ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Traceback (most recent call last):
File "C:\Users\Benjamin van Soldt\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Blender2P3DFSX\func_scenery.py", line 150, in execute
tree = etree.parse(path)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "E:\Program\Blender 2.82\2.82\python\lib\xml\etree\ElementTree.py", line 598, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 30
location: E:\Program\Blender 2.82\2.82\scripts\modules\bpy\ops.py:199
location: <unknown location>:-1


Hi Thralni,
to know if the modeldef.xml has been assigned correct just click on the P3D/FSX File Properties window the button P3D/FSX Animation tool and you should see entries
from the modeldef file related to some animation functions in the file. In the example below for example the animation for a Landinglight_Switch and some other switches.
Hope this helps.


F:\FSX
S:\P3D (v4.5)
Z:\Prg\Blender-2.79
Z:\Prg\Blender-2.82
Z:\Tools\SDK (for FSX:A)
Z:\Tools\SDK_P3D (for P3D v1.4)
Z:\Tools\SDK_P3D2 (for P3D v2.x)
Z:\Tools\SDK_P3D3 (for P3D v3.x)
Z:\Tools\SDK_P3D4 (for P3D v4.4)
Z:\Tools\SDK_P3D5 (for P3D v4.5)
Modules Installed (Blender2P3DFSX) from 'Z:\\Telechargements\\FSX-Prepar3D\\Blender\\NEWS_Blender2P3DFSX_0.97.20.zip' into 'C:\\Users\\Lagaffe\\AppData\\Roaming\\Blender Foundation\\Blender\\2.82\\scripts\\addons'
Writing userprefs: 'C:\Users\Lagaffe\AppData\Roaming\Blender Foundation\Blender\2.82\config\userpref.blend' ok
Couldn't locate location file at <C:\Users\Lagaffe\AppData\Roaming\Blender Foundation\Blender\2.82\config\p3d_locations.xml>
Couldn't locate location file at <C:\Users\Lagaffe\AppData\Roaming\Blender Foundation\Blender\2.82\config\p3d_locations.xml>
Couldn't locate location file at <C:\Users\Lagaffe\AppData\Roaming\Blender Foundation\Blender\2.82\config\p3d_locations.xml>

The file p3d_locations.xml doesn't exist ...
But then I click on "P3D/FSX Animation Tool" I can see the animation names correctly ! ( modeldef.xml is different in P3D SDK v1.4 and P3D SDK v4.5 )
Yes I can confirm that, every object in the scene currently needs a texture applied to work. Do you think this is an issue? Usually all my objects are textured, so I didn't think much of it.A simple cube with a correct name and a GUID cannot be exported if it has no associated <Material>.






