AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

13 Posts
0 Kudos
Registered: ‎04-10-2001
Post 1 of 2

MapExport in - FatalExecutionEngineError

604 Views, 1 Replies
03-31-2013 04:15 PM




My code is


Imports Autodesk.AutoCAD.Interop

Imports Autodesk.AutoCAD.Interop.Common


Dim oAcad As AcadApplication = Application.AcadApplication

oAcad.ActiveDocument.SendCommand("-mapexport" & vbCr & "FDO_SDF" & vbCr & "test.sdf" & vbCr & "_N" & "_P" & vbCr)




the result is



The runtime has encountered a fatal error. The address of the error was at 0xe1b6d735, on thread 0x1018. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.



   Civil 2013

   Windos 7 64




The "-map2sdf" does not create problems but "-mapexport" does. I am trying to create a sdf3 file. Any help would be realy appreciate.




*Expert Elite*
2,873 Posts
267 Kudos
Registered: ‎04-27-2005
Post 2 of 2

Re: MapExport in - FatalExecutionEngineError

03-31-2013 04:22 PM in reply to: pcardinal

Might want to post your question HERE instead.

Brian Hailey
My Blog
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!