• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    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.

MSFS SDK 3DSMAX Plugin Bugs

Messages
9
Country
us-texas
Hey guys, I've been in trouble for this implict pipeline which documentation does not give me proper guidance at all.

For the 3DSMAX (version 2021) plugin SDK 18.0, first I found that the generate XML key is not working which means. It does not have any response. I have to create an XML file manually.
The second problem is that, it pops out this error

---------------------------
An error as occured during the export process
---------------------------
MAXScript exception raised.
-- Runtime error: .NET runtime exception: Export interrupted due to UniqueID conflict in the following nodes, Xinyi_Hangar_Frame

Fix the issue trough Babylon -> Resolve UniqueID button
---------------------------
OK
---------------------------
Despite that I've already clicked menubar-Babylon-Babylon Resolve UniqueIDs..
problem.png


And I clicked save, but this error still occurs.
How to deal with that?

--------------------------------
When I want to export a new mesh,
I click export ticked, the plugin tried to generate XML first but fails
Something went wrong while updating the XML file of APLoc_Helper_LOD0, the XML will not be updated but the export will still be performed :
ERROR : This file doesn't exist. can't update it

Overwritten param
3
3


However, if I create one XML manually, and then click export ticked, the plugin still fails
Traceback (most recent call last):
File "G:\Tools\3dsMax\FlightSimPackage\scripts\msfs_max_py\MultiExporter\multiExporter.py", line 679, in _clickedExportTicked
self.sendToExporter(selected)
File "G:\Tools\3dsMax\FlightSimPackage\scripts\msfs_max_py\MultiExporter\multiExporter.py", line 768, in sendToExporter
exporter.exportObjects(objects, optionPreset, prompt=prompt)
File "G:\Tools\3dsMax\FlightSimPackage\scripts\msfs_max_py\MultiExporter\exporter.py", line 177, in exportObjects
bundles = collectObjectBundlesForExport(objects, optionPreset)
File "G:\Tools\3dsMax\FlightSimPackage\scripts\msfs_max_py\MultiExporter\exporter.py", line 138, in collectObjectBundlesForExport
lodLog = updateSingleMetadataLODValue(metaPath, lodLevel, lodValue)
File "G:\Tools\3dsMax\FlightSimPackage\scripts\msfs_max_py\MultiExporter\exporter.py", line 408, in updateSingleMetadataLODValue
log += writeXML(xmlPath, root)
File "G:\Tools\3dsMax\FlightSimPackage\scripts\msfs_max_py\MultiExporter\exporter.py", line 424, in writeXML
dom_string = os.linesep.join([s for s in xmlstr.splitlines() if s.strip()])
TypeError: sequence item 0: expected str instance, bytes found
 
Last edited:
Messages
85
Country
us-california
It was the same for me.. I use 3ds Max 2021 (and 2019 if I need to work with a sample) I went back to earlier versions of the SDK, on the Devsupport forum they have some options of replacing the files in your 3dsMax Plug in folder but didn't solve it for me.
 
Messages
86
It's been like this since SDK v17. They are aware of it and still have not fixed it, we're now at v19 with no solution in sight. It's absolutely ridiculous.
Making your own xml file is no problem, but when you have a batch of objects, like 50+.. good luck.
 

Attachments

  • Screenshot_13.jpg
    Screenshot_13.jpg
    33.4 KB · Views: 37
Messages
9
Country
us-texas
Oh damn...
Just find out it is that DEV group ships an Unusable SDK..and everyone is having the problem.
 
Messages
9
Country
us-texas
not sure but try to uncheck "ASOBO_uniquelID"
Hi ros, I fixed this issue by going into babylon property of the object in MAX.
The MAS plugin does not give unique ID to copy-and-paste objects in the scene. So if you duplicate a wall for a building, wall2 by default, uses same babylon ID as wall.
That's the SDK with the worst usability for this kind of flight sim I've seen in the two decades.
 
Messages
35
Country
china
Hi ros, I fixed this issue by going into babylon property of the object in MAX.
The MAS plugin does not give unique ID to copy-and-paste objects in the scene. So if you duplicate a wall for a building, wall2 by default, uses same babylon ID as wall.
That's the SDK with the worst usability for this kind of flight sim I've seen in the two decades.
No, you don't need to do it like that, just do this:

- Select ALL objects in the scene

- Right-click and Edit the Object Properties, it will show a blank page, because multiple objects has been selected.

- Just add a space, then press back space to delete it. This will result in ALL custom properties being cleared.

- Choose "Resolve unique ID" again

- Be sure to re-check again your Babylon groups, sometimes they are lost after doing this procedure.
 
Messages
35
Country
china
same here
The problem happens if you duplicate an object that already had the "flightsim_uniqueid_resolved = True" property, which was set by the "Resolve unique ID" command, because you already ran it once so, apparently, the script doesn't try to resolve again an object that it considers to have been resolved already.

The solution that always works is:

- Select ALL objects in the scene

- Right-click and Edit the Object Properties, it will show a blank page, because multiple objects has been selected.

- Just add a space, then press back space to delete it. This will result in ALL custom properties being cleared.

- Choose "Resolve unique ID" again

- Be sure to re-check again your Babylon groups, sometimes they are lost after doing this procedure.
 
Messages
7
Country
turkey
No, you don't need to do it like that, just do this:

- Select ALL objects in the scene

- Right-click and Edit the Object Properties, it will show a blank page, because multiple objects has been selected.

- Just add a space, then press back space to delete it. This will result in ALL custom properties being cleared.

- Choose "Resolve unique ID" again

- Be sure to re-check again your Babylon groups, sometimes they are lost after doing this procedure.
you are a genius "bb" :cool:
 
Top