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

            label1.Text = args.Document.Path;
        }