-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
131 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
using Application = Autodesk.AutoCAD.ApplicationServices.Core.Application; | ||
using MgdDbg.Test; | ||
|
||
namespace CADPythonShell; | ||
|
||
public class SnoopDBCommand : ICadCommand | ||
{ | ||
public override void Execute() | ||
{ | ||
string fullCmdLine = $"_{nameof(MgdDbgAction.SnoopDB)}\n"; | ||
Application.DocumentManager.MdiActiveDocument.SendStringToExecute(fullCmdLine, false, false, true); | ||
TestCmds cmd = new TestCmds(); | ||
cmd.SnoopDatabase(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
namespace CADPythonShell; | ||
using MgdDbg.Test; | ||
|
||
namespace CADPythonShell; | ||
|
||
public class SnoopEditorCommand : ICadCommand | ||
{ | ||
public override void Execute() | ||
{ | ||
string fullCmdLine = $"_{nameof(MgdDbgAction.SnoopEd)}\n"; | ||
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(fullCmdLine, false, false, true); | ||
TestCmds cmd = new TestCmds(); | ||
cmd.SnoopEd(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
namespace CADPythonShell; | ||
using MgdDbg.Test; | ||
|
||
namespace CADPythonShell; | ||
|
||
public class SnoopEntitiesCommand : ICadCommand | ||
{ | ||
public override void Execute() | ||
{ | ||
string fullCmdLine = $"_{nameof(MgdDbgAction.SnoopEnts)}\n"; | ||
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(fullCmdLine, false, false, true); | ||
TestCmds cmd = new TestCmds(); | ||
cmd.SnoopEntity(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
namespace CADPythonShell; | ||
using MgdDbg.Test; | ||
|
||
namespace CADPythonShell; | ||
|
||
public class SnoopEntitiesNestedCommand : ICadCommand | ||
{ | ||
public override void Execute() | ||
{ | ||
string fullCmdLine = $"_{nameof(MgdDbgAction.SnoopNEnts)}\n"; | ||
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(fullCmdLine, false, false, true); | ||
TestCmds cmd = new TestCmds(); | ||
cmd.SnoopNestedEntity(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
namespace CADPythonShell; | ||
using MgdDbg.Test; | ||
|
||
namespace CADPythonShell; | ||
|
||
public class SnoopEventsCommand : ICadCommand | ||
{ | ||
public override void Execute() | ||
{ | ||
string fullCmdLine = $"_{nameof(MgdDbgAction.SnoopEvents)}\n"; | ||
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(fullCmdLine, false, false, true); | ||
TestCmds cmd = new TestCmds(); | ||
cmd.Events(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
namespace CADPythonShell; | ||
using MgdDbg.Test; | ||
|
||
namespace CADPythonShell; | ||
|
||
public class TestFrameworkCommand : ICadCommand | ||
{ | ||
public override void Execute() | ||
{ | ||
string fullCmdLine = $"_{nameof(MgdDbgAction.SnoopTests)}\n"; | ||
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(fullCmdLine, false, false, true); | ||
TestCmds cmd = new TestCmds(); | ||
cmd.TestDb(); | ||
} | ||
} |
Oops, something went wrong.