예제 #1
0
 public void Close()
 {
     doc.Close(false);
     app.Quit();
     doc = null;
     drw = null;
     app = null;
 }
예제 #2
0
 public void Close()
 {
     doc.Close(false);
     app.Quit();
     doc = null;
     drw = null;
     app = null;
 }
예제 #3
0
 public Generator(String MapFile)
 {
     app = new m.Application();
     doc = app.NewDocument(MapFile, false);
 }
예제 #4
0
 public Generator(String MapFile, String Drawing)
 {
     app = new m.Application();
     doc = app.NewDocument(MapFile, false);
     drw = (m.Drawing)doc.ComponentSet[Drawing];
 }
예제 #5
0
 public Generator()
 {
     app = new m.Application();
     doc = app.NewDocument(null, false);
     drw = doc.NewDrawing(Guid.NewGuid().ToString(), app.DefaultCoordinateSystem, false);
 }
예제 #6
0
 public Generator(String MapFile)
 {
     app = new m.Application();
     doc = app.NewDocument(MapFile, false);
 }
예제 #7
0
 public Generator(String MapFile, String Drawing)
 {
     app = new m.Application();
     doc = app.NewDocument(MapFile, false);
     drw = (m.Drawing)doc.ComponentSet[Drawing];
 }
예제 #8
0
 public Generator()
 {
     app = new m.Application();
     doc = app.NewDocument(null, false);
     drw = doc.NewDrawing(Guid.NewGuid().ToString(), app.DefaultCoordinateSystem, false);
 }
예제 #9
0
 void ev_AddinLoaded(object sender, DocumentEventArgs Args)
 {
     app   = Args.Document.Application;
     doc   = Args.Document;
     comps = doc.ComponentSet;
 }
예제 #10
0
        private void DocumentChanged(System.Object sender, Manifold.Interop.Scripts.DocumentEventArgs args)
        {
            mApp = args.Document.Application;

            label1.Text = args.Document.Path;
        }