plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

Please take a moment to read the platform’s guidelines before you get started!


question

AgentMir avatar image
AgentMir asked AgentMir answered

Multi-Exporter unable to generate XML File

I've just upgraded to Windows 11 on a production rig. 3dsmax 2022 installed with the latest SDK.

I've got Multi-Exporter window open and I've got a test object with an export path set. Exporting the object works. However it's unable to generate an XML. There's no error message, it just doesn't generated an XML when clicking Generate XML.

This has always worked fine in the past so I'm not sure what the issue is?

bughelp3dsmax
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

pyreegue avatar image
pyreegue answered pyreegue commented

Same thing for me. Doesn't generate XMLs, doesn't export any files either. Max 2022.2screenshot-3.png


screenshot-3.png (11.9 KiB)
2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hi @pyreegue ,

Are you on windows 11 too ?

0 Likes 0 ·
Yep, I am.
0 Likes 0 ·
Boris_ avatar image
Boris_ answered AgentMir commented

Thanks for reporting

This issue will be investigated


Regards,
Boris

2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Resolve Unique IDs doesn't always work either.


0 Likes 0 ·
@Boris_

Has there been any progress on this. This bug is absolutely killer for large scenes with LODs. It really is a problem.
Just FYI I've found that it's not isolated to Windows 11, I'm back to Windows 10 and same issue.

0 Likes 0 ·
virtuali avatar image
virtuali answered virtuali edited

I've found some issues with the Multi-exporter, the option to create a Options preset doesn't work very well.

Pressing the + button to create a new preset returns a python exception "dict object has no has_key attribute". I had a look a the .PY source code, and it seems the has_key has been replaced with __contains__ in Python 3. I got rid of the exception by changing it.

Pressing the - button doesn't do anything. Looking at the source code, in fact, it doesn't seem there is any code attached to the - button, so it doesn't seem possible to remove an option preset.

This also raises a question:

When exporting animated objects by separating the multi-LOD meshes from the animations, is it required to set the "no animation" option, assuming only layers containing static mesh are exported ? Is the opposite true ? It is required to set to export "animation only", when exporting the animation .gltf, assuming only layers containing animated nodes belonging to animation groups are exported ?

I'm asking because I've noticed that even when exporting only layers containing static meshes, the resulting .gltf is still quite large, even if nothing animated is being exported and even if the meshes are just 100 polygons or so, just because the exported is flagged to export the animation. The only way to create a smaller .glft for the lower LODs is to explicitly set to not export the animation,. is this how's supposed to be ?

Basically, when a multi-LOD object contains animations in a separate file, so only layers with no animations are exported, does the export animation must be enabled or not for the static meshes ?

If yes, it would then be quite useful if the save Options preset function would work.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

AgentMir avatar image
AgentMir answered

Update - Still doesn't work with SDK v0.19 - This makes exporting large amount of objects very laborious.

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

EPellissier avatar image
EPellissier answered AgentMir commented

Hi there,

We are currently reviewing all of our Python tools which have issues under Max 2022 - these are due to the switch from Python 2.7 to Python 3.7 indeed (which happened between Max 2020 and Max 2021).

https://help.autodesk.com/view/MAXDEV/2023/ENU/?guid=MAXDEV_Python_what_s_new_in_3ds_max_python_api_html

We will update the SDK as soon as the reviewing pass is completed.

Best regards,

Eric / Asobo

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hi @EPellissier , thank you for the update,
0 Likes 0 ·
AgentMir avatar image
AgentMir answered

Looks like issue has been resolved in the latest SDK 0.19.1

Thank you!

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.