프로젝트

일반

사용자정보

개정판 442bd51e

ID442bd51e516477d275b005fcef7160e7c2eb2ad9
상위 a85990fb
하위 b427ebf9, 4941f5fe

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

dev issue #000 : 유저 편의성 추가

Change-Id: I7c29a8b6b077dc05d686dc77f71608c54a41ecdf

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
31 31
        LMDrawing currentDrawing;
32 32
        dynamic newDrawing;
33 33
        dynamic application;
34
        bool closeDocument;
34 35
        Ingr.RAD2D.Application radApp;
35 36
        SPPID_Document document;
36 37
        ETCSetting _ETCSetting;
......
43 44
        List<string> ZeroLengthModelItemIDReverse = new List<string>();
44 45
        List<Symbol> prioritySymbols;
45 46

  
46
        public AutoModeling(SPPID_Document document, dynamic application, Ingr.RAD2D.Application radApp)
47
        public AutoModeling(SPPID_Document document, dynamic application, Ingr.RAD2D.Application radApp, bool closeDocument)
47 48
        {
49
            this.closeDocument = closeDocument;
48 50
            this.document = document;
49 51
            this.application = application;
50 52
            this.radApp = radApp;
......
142 144

  
143 145
                if (radApp.ActiveDocument != null)
144 146
                {
145
                    radApp.ActiveDocument.Save();
147
                    newDrawing.Save();
148
                    if (closeDocument)
149
                        newDrawing.CloseDrawing(true);
146 150
                    ReleaseCOMObjects(newDrawing);
147 151
                }
148 152

  

내보내기 Unified diff

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