Hi All
I am creating a vb.Net procedure that Attaches a Drawing, Queries information from the Drawing and then Detaches the drawing. This is all working fine.
However when the drawing is Detached, the “AutoCAD Map Messages” Dialog appears as per attached screenshot.
I have search the Forums and Googled the problem but I can only find suggest on how to resolve issues where the Dialog is not appearing.
I have tried several thinks to stop this dialog appearing including checking the following settings.
Filedia: 1
AttDia: 0
CmdDIA: 1
QAFlags: 16 and tried 0
If have also tried including the following line in my code but the Dialog is stopping it running until the user closes the Dialog.
doc.SendStringToExecute("{ENTER}", True, False, False)
I am running AutoCAD Civil 3D 2015 on a Windows 7 64bit machine.
For the application to run without the user having to close the dialog I either need a way to disable the dialog from appearing (Ideally) or a method to acknowledge it when it does open.
Any help on this matter would be greatly received.
Solved! Go to Solution.
Hi All
I am creating a vb.Net procedure that Attaches a Drawing, Queries information from the Drawing and then Detaches the drawing. This is all working fine.
However when the drawing is Detached, the “AutoCAD Map Messages” Dialog appears as per attached screenshot.
I have search the Forums and Googled the problem but I can only find suggest on how to resolve issues where the Dialog is not appearing.
I have tried several thinks to stop this dialog appearing including checking the following settings.
Filedia: 1
AttDia: 0
CmdDIA: 1
QAFlags: 16 and tried 0
If have also tried including the following line in my code but the Dialog is stopping it running until the user closes the Dialog.
doc.SendStringToExecute("{ENTER}", True, False, False)
I am running AutoCAD Civil 3D 2015 on a Windows 7 64bit machine.
For the application to run without the user having to close the dialog I either need a way to disable the dialog from appearing (Ideally) or a method to acknowledge it when it does open.
Any help on this matter would be greatly received.
Solved! Go to Solution.
Solved by dohenry. Go to Solution.
HI
In case anyone is looking for the solution to Turn off AutoCAD Map Message.
I got the following solution from Autodesk Support.
Usually CMDDIA 0 and FILEDIA 0 make errors/warnings to appear on the command line (‘DIA” part means “modal DIAlog")
In my case, I create a procedure to capture the current settings for both FILEDIA and CMDDA, change them to 0 and then change them back again to their original settings at the end of my process.
HI
In case anyone is looking for the solution to Turn off AutoCAD Map Message.
I got the following solution from Autodesk Support.
Usually CMDDIA 0 and FILEDIA 0 make errors/warnings to appear on the command line (‘DIA” part means “modal DIAlog")
In my case, I create a procedure to capture the current settings for both FILEDIA and CMDDA, change them to 0 and then change them back again to their original settings at the end of my process.
Can't find what you're looking for? Ask the community or share your knowledge.