• 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.

ObPlacer XML

Messages
4
Country
unitedstates
Hi Arno, I'm trying out this neat utility and am trying to figure out a problem.
When I add one of my own XML/mdl files from my User library, it isn't showing up in the sim. I believe that I need to add the line:

<ModelData name="9999A3FECBFFFC90B83649E73DD2EDE7" sourceFile="G:\bglcmpl\Tree_X1.mdl"/>

but when I hit "add mdl object" which adds the above line, the GUID identity is not the same as in the same model's XML which is:
<ModelData name="F9FD099F4664A3AB7B2F44B66408C427" sourceFile="Tree_X1.mdl" />

Now if I add the above line to the compiled XML, I can't re-open the compiled XML in ObPlacer_XML. I get a Run-Time Error '35602' Key is not unique in collection and ObPlacer_XML shuts down.

So, Is there a way to get the ModelData name line and that GUID from the mdl's XML to be placed in the XML compilation list or is this a manual operation?

The other issue which isn't all that big is that my sim reads minutes and seconds in co-ordinates. Is there a way that I can get ObPlacer_XML to use these instead of the decimal readout such as 59.123986?

Thanks ahead of time and thanks again for the seasonal info. in E-mail This site has been a big help.

Bilbo
 
Hi Bilbo,

Bilbo said:
So, Is there a way to get the ModelData name line and that GUID from the mdl's XML to be placed in the XML compilation list or is this a manual operation?

If you want the ModelData line in the XML you need to add the MDL in ObPlacer. If you are calling the object from a user library, then this line should not be there. In that case you should have a second BGL (the object library) in your scenery folder.

Bilbo said:
The other issue which isn't all that big is that my sim reads minutes and seconds in co-ordinates. Is there a way that I can get ObPlacer_XML to use these instead of the decimal readout such as 59.123986?

No, at this moment not. When reading the coordinates from FS the decimal format is used, as I found that one easier to work with.

If you want you can enter the coordinates in the HH:MM.mmmm format in the text box. But when reading from FS the decimal format is always used.

If more people prefer the HH:MM.mmmm format I could add a choice between these two formats in a future version.
 
arno said:
Hi Bilbo,
If you want the ModelData line in the XML you need to add the MDL in ObPlacer. If you are calling the object from a user library, then this line should not be there. In that case you should have a second BGL (the object library) in your scenery folder.
I see.:p
Thanks again for the very quick help.
Bilbo :wave:
 
Back
Top