Anytime I export a dxf file(File Menu/Export Vector Data/Export Dxf...) from a TIN generated layer in GM, I get an import error in 3D Studio Max 2010.
Unable to open:
<path blah/file.dxf>
The error code reported is eBadDxfSequence
The only way I can get the Dxf load is by resaving the file with another application(Presagis Creator). At this point, the file will now load into 3D Studio Max 2010. Although, I realize this may be a GM problem I need a way to correct this without resaving via creator if possible. I can post or email the file if it helps you to compare the difference between the GM exported dxf and resaved dxf.
P.S. If I just export Dxf lines and not Dxf meshes then the files seem to be readable by 3D Studio Max without conversion.
I took a look and found that Global Mapper was exporting an extra SEQEND after the 3DFACE entity for each TIN face, which was likely the cause of the problem. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with this fixed for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .
I appreciate your help! We are almost have a solution. I am getting another error now BUT, I was able to fix it via a hex editor(HxD). Once I did this it imports correctly.
New Error:
Unable to open:
<path blah>\temp.dxf
The error code reported is eDuplicateLayerName
Here are the details on how I corrected it using new build of GMv11 and hex editor:
1) Open the original temp.dxf(attached below) exported from GM v11 into Creator.
2) Exported it out to xtemp.dxf(attached below).
I after looking at the both of these files(temp.dxf and xtemp.dxf) side by side in wordpad or hex editor I notice a slight difference in the entries for 3DFACE.
Actually from the error I think the problem is that the layer name is duplicated at the start and end of the 3DFACE feature. I have fixed that so hopefully now all problems are fixed. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .
The problem has been fixed now. Thank you for you excellent support and "turn-around" time. The DXFs exported by GM's TIN layer now import into 3D Studio Max correctly.
I have a few other question/problems with DXF import/export that I will post soon as time allows. Maybe we can get these worked out as well so others can benefit from your powerful application!