Skip to content

Commit ab9e9f3

Browse files
committed
fix #4
1 parent f0f512a commit ab9e9f3

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CADPythonShell/App/IronPythonConsoleApp.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ public class IronPythonConsoleApp : ICadCommand
1414
public override void Execute()
1515
{
1616
CreateRibbon();
17-
MgdDbg.App MgdDbgSnoop = new App();
18-
MgdDbgSnoop.Initialize();
1917
}
2018

2119
private void CreateRibbon()

CADPythonShell/PackageContents.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@
1212
Version="1.0"
1313
ModuleName="./CADPythonShell.dll"
1414
AppDescription="Description for command module of CAD PythonShell"
15-
LoadOnCommandInvocation="True" LoadOnRequest="True">
15+
LoadOnAutoCADStartup="True">
1616
<Commands>
1717
<Command Local="PythonConsole" Global="PythonConsole" />
1818
<Command Local="PythonShellSetting" Global="PythonShellSetting" />
1919
<Command Local="InitPythonConsole" Global="InitPythonConsole" StartupCommand="True" />
2020
<Command Local="Snoop" Global="Snoop" />
2121
</Commands>
2222
</ComponentEntry>
23+
<ComponentEntry AppName="MgdDbg"
24+
Version="1.0"
25+
ModuleName="./MgdDbg.dll"
26+
AppDescription="a module snoop entities of CAD PythonShell"
27+
LoadOnAutoCADStartup="True">
28+
</ComponentEntry>
2329
</Components>
2430
</ApplicationPackage>

0 commit comments

Comments
 (0)