3MX Files

Is it possible to merged completed productions into 1 single file? I have made all the SRS, tile size, coordinates origin the same.

I have tried doing this but the model failed to open as it says that it is corrupted.  is there a more detailed way of how to merge these productions into one 3D Mesh model?

Combine the folders

-          Create a directory …/Merged Production/Scene

 

-          In this directory (…/Merged Production/Scene) Copy P1.3MX and rename it Merged_Production.3MX

 

-          Copy also (in this directory …/Merged Production/Scene) the two Data folders and rename them Data_1, Data_2

  • Hi Saeid,

    The error you're experiencing is normally due to an error in the merge file you have created. Have you checked the link above and does your file look similar to the example?

    Most of the time it will be a very small issue in the script that causes the issue.

    Thanks,

    Jed 

  • Dear Jerard,
    Thank you very much for your response. I have already merged two productions, but they had not overlaps together. But this time their tiles have overlaps and the mentioned error appeared. I have copied the text  of my merged 3MX file.

    {"3mxVersion": 1,
    "name":"3MXmGeomEnd",
    "description":"Scene generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>.",
    "logo":"logo.png",
    "sceneOptions":[{"navigationMode":"ORBIT"}],
    "layers": [
    {
    "type":"meshPyramid",
    "id":"mesh0",
    "name":"3MXmGeomEnd",
    "description":"Model generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>.",
    "SRS": "PROJCS[\"WGS 84 / UTM zone 39N\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",51],PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],AUTHORITY[\"EPSG\",\"32639\"]]",
    "SRSOrigin": [563231,3954252,0],
    "root": "Data_1/3MXmGeomEnd.3mxb"
    },
    {
    "type":"meshPyramid",
    "id":"mesh0",
    "name":"Production_1",
    "description":"Model generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>.",
    "SRS": "PROJCS[\"WGS 84 / UTM zone 39N\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",51],PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],AUTHORITY[\"EPSG\",\"32639\"]]",
    "SRSOrigin": [563013,3956063,0],
    "root": "Data_2/Production_1.3mxb"
    }
    ]
    }

  • Saeid, 

    I have just had a look at your text and it does look to be correct as this is the case the only advice I can offer is that yo put in a service request and technical support will take a look at your files. 

    Thanks,

    Jed 

  • I have the same problem as others on this page. I have three 3MX to combine from a rail corridor survey. All three productions were set up with the same SRS and the same custom origin (though they have different values in the SRSOrigin fields in their respective 3MX files).

    The edited 3MX will not launch if the three productions have different values in the SRSOrigin field in the 3MX file. Editing them to have the same origin forces them to sit on top of each other.

    Any ideas? I realise this is added to an old post, but did anyone here have any luck?

  • You need to have the exact same SRS origin in both models for the merging to work. Make sure that in the production stage you check that the origin is the same, and if not enter a custom origin (in "extents") which is the same as the origin of the first model.