프로젝트

일반

사용자정보

개정판 14540282

ID14540282046aa95b2e491b229dfbc541171cea9a
상위 a999464f
하위 0d6d3734, 1c5bd296

gaqhf 이(가) 약 5년 전에 추가함

dev issue #1230 : command, utill, custom fix

Change-Id: I73b680168848166eeeb682782840a39e118f0d0b

차이점 보기:

DTI_PID/APIDConverter/APIDConverterExplorer.cs
20 20
        public APIDConverterExplorer()
21 21
        {
22 22
            InitializeComponent();
23

  
24
            Autodesk.AutoCAD.Interop.AcadApplication acadApplication = Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication as Autodesk.AutoCAD.Interop.AcadApplication;
25
            Autodesk.AutoCAD.Interop._DAcadApplicationEvents_NewDrawingEventHandler handler = new Autodesk.AutoCAD.Interop._DAcadApplicationEvents_NewDrawingEventHandler(CommandEnded);
26
            acadApplication.NewDrawing += handler;
27
        }
28
        public static void CommandEnded()
29
        {
30

  
23 31
        }
24 32

  
25 33
        private void btnOpenConverter_Click(object sender, EventArgs e)
......
27 35
            APIDConverter form = new APIDConverter();
28 36
            if (AcadApp.ShowModalDialog(form) == DialogResult.OK)
29 37
            {
30
                
38
                foreach (var item in form.Documents)
39
                {
40
                    AutoModeling autoModeling = new AutoModeling(item);
41
                    autoModeling.Run();
42
                }
31 43
            }
32 44
        }
33 45
    }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)