<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Turn off Dialog Boxes for Commands in Civil 3D Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214980#M216715</link>
    <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;Sure, I would appreciate that. I do a little .net on the side so I should&lt;BR /&gt;be able to get it working.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 14 Mar 2016 18:30:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-14T18:30:36Z</dc:date>
    <item>
      <title>Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6210031#M216706</link>
      <description>&lt;P&gt;Is it possible to disable dialog boxes / pop-ups&amp;nbsp;for commands?&amp;nbsp; More specifically, can you disable the dialog box from popping when using the edit surface swap edge command?&amp;nbsp; It is pretty annoying when cleaning up a huge surface and you accidently click on&amp;nbsp;a&amp;nbsp;contour&amp;nbsp;line instead of just ignoring it a box pops up and says "no edge at picked location".&amp;nbsp; Autodesk, thanks for pointing out my mistake everytime,&amp;nbsp;you&amp;nbsp;remind&amp;nbsp;me of my mother-in-law...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody know if this is possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 22:52:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6210031#M216706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-10T22:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6212423#M216707</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/224248i727E620F3283A990/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Edge1.png" title="Edge1.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dunno. The only thing I can suggest is to turn off your border and everything but triangles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2016 11:46:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6212423#M216707</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2016-03-12T11:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6212523#M216708</link>
      <description>Have you tried FILEDIA=0?&lt;BR /&gt;Set Panama to auto hide &lt;BR /&gt;Optional- turn auto build off: I know that defeats your purpose, but will eliminate any pop ups until rebuild occurs</description>
      <pubDate>Sat, 12 Mar 2016 14:35:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6212523#M216708</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2016-03-12T14:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6212878#M216709</link>
      <description>&lt;P&gt;Joe,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;EM&gt;&lt;STRONG&gt;"Set Panama to auto hide"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how will ships find the canal to be able to cross over?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2016 23:35:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6212878#M216709</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2016-03-12T23:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214058#M216710</link>
      <description>&lt;P&gt;Its confusing enought that you have tp head west to get to the Atlantic and East to the pacific&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/224509i265EA8039D20717C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="canal.PNG" title="canal.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:05:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214058#M216710</guid>
      <dc:creator>Joe-Bouza</dc:creator>
      <dc:date>2016-03-14T12:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214115#M216711</link>
      <description>&lt;P&gt;If this is the issue Dave then the OP should just be able to use a crossing window selection instead of a single click selection. This will find the triangles under borders and contours.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:37:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214115#M216711</guid>
      <dc:creator>jmayo-EE</dc:creator>
      <dc:date>2016-03-14T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214726#M216712</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think it's possible to ignore this dialog, but there may be a good way to workaround it. If you select your surface, right-click on it and select "Isolate Selected Objects" you may be able to remove all that noise and just work on your surface triangles. Once done, just repeat the procedure and "End Isolation". Not quite what you are looking for an answer but since it acts as designed this may be useful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:37:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214726#M216712</guid>
      <dc:creator>AlmasSuljevic</dc:creator>
      <dc:date>2016-03-14T16:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214756#M216713</link>
      <description>&lt;P&gt;Thanks for all of the suggestions.&amp;nbsp; Pointdump, yes that is the one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I was on to something with the cmddia variable but that doesn't work either.&amp;nbsp; Sounds like it can be reduced but not made to go away.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish it was more like other commands where if you select the wrong object it just says ".. filtered out.." in the command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214756#M216713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T16:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214971#M216714</link>
      <description>&lt;P&gt;@Anonymous﻿, with a wee bit of .NET programming this can be done. In fact, I have a solution which doesn't force you to actually pick the TIN line to swap, just pick something on the surface and the nearest TIN line will be attempted to swap. If it can't be swapped it is reported at the command line and let's you continue on. If you wish I will share the code, but not a working DLL (it's part of a larger tool set, not a standalone project.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:26:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214971#M216714</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2016-03-14T18:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214980#M216715</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;Sure, I would appreciate that. I do a little .net on the side so I should&lt;BR /&gt;be able to get it working.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 14 Mar 2016 18:30:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6214980#M216715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T18:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6215008#M216716</link>
      <description>&lt;P&gt;OK, here's the c# class:&lt;/P&gt;
&lt;PRE&gt;using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Runtime;
using Autodesk.Civil;
using Autodesk.Civil.DatabaseServices;
using Autodesk.Civil.DatabaseServices.Styles;
using System;

namespace Civil3D_Misc_Commands.SurfaceTools
{
    public class SwapEdge
    {
        [CommandMethod("SwapEdgeToo")]
        public void swapedgetoo()
        {
            Document doc = Application.DocumentManager.MdiActiveDocument;
            Editor ed = doc.Editor;
            Database db = doc.Database;
            PromptEntityOptions eOpts = new PromptEntityOptions("Select Surface: ");
            eOpts.SetRejectMessage("...not a Tin Surface, try again.");
            eOpts.AddAllowedClass(typeof(TinSurface), true);
            PromptEntityResult eRes = ed.GetEntity(eOpts);
            if (eRes.Status != PromptStatus.OK)
                return;
            eOpts.Message = "\n..Select edge to swap: ";
            var surfId = eRes.ObjectId;
            using (Transaction tr = db.TransactionManager.StartTransaction())
            {
                var s = (TinSurface)surfId.GetObject(OpenMode.ForRead);
                var style = (SurfaceStyle)s.StyleId.GetObject(OpenMode.ForRead);
                var ds = style.GetDisplayStylePlan(SurfaceDisplayStyleType.Triangles);
                if (ds.Visible == false)
                {
                    ed.WriteMessage("\n Surface is not displaying Triangles, exiting...");
                    return;
                }
            }
            eRes = ed.GetEntity(eOpts);
            while (eRes.Status == PromptStatus.OK)
            {
                if (eRes.ObjectId != surfId)
                {
                    ed.WriteMessage("...not the same Surface!");
                    continue;
                }
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    var surf = (TinSurface)eRes.ObjectId.GetObject(OpenMode.ForWrite);
                    var edge = surf.FindEdgeAtXY(eRes.PickedPoint.X, eRes.PickedPoint.Y);
                    try
                    {
                        var surfOp = surf.SwapEdge(edge);
                    }
                    catch (SurfaceException e)
                    {
                        if (e.Message == "CantSwap")
                            ed.WriteMessage("\n Can't swap that edge!");
                    }
                    catch(SystemException e)
                    {
                        ed.WriteMessage("...Something unexpected happened, this is the message:\n {0}", e.Message);
                    }
                    tr.Commit();
                }
                eRes = ed.GetEntity(eOpts);
            }
        }
    }
}
&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:45:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6215008#M216716</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2016-03-14T18:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Turn off Dialog Boxes for Commands</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6215018#M216717</link>
      <description>&lt;P&gt;Thanks Jeff.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:50:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/turn-off-dialog-boxes-for-commands/m-p/6215018#M216717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T18:50:12Z</dc:date>
    </item>
  </channel>
</rss>

