프로젝트

일반

사용자정보

개정판 d9933788

IDd99337889282d561783dff23e7946d4427bb71e2
상위 cd7b7254
하위 7b5c0f77, 40a1e23a

조봉훈이(가) 일년 이상 전에 추가함

Set to change TypicalMode for Find function (temporary code until the right code is found)

Change-Id: I660c4123a19ab1edc2b34ba5d44390ccf7891198

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
90 90
        /// </summary>
91 91
        public void Run()
92 92
        {
93
            this.passTypicalMode = false;
93 94
            string drawingNumber = document.DrawingNumber;
94 95
            string drawingName = document.DrawingName;
95 96
            try
......
198 199
            }
199 200
            finally
200 201
            {
201
                if (!passTypicalMode)
202
                radApp.Interactive = true;
203

  
204
                if (!this.passTypicalMode)
202 205
                {
203 206
                    try
204 207
                    {
......
253 256
                    }
254 257
                }
255 258

  
256
                radApp.Interactive = true;
257

  
258 259
                Project_DB.InsertDrawingInfoAndOPCInfo(document.PATH, drawingNumber, drawingName, document);
259 260
                //Project_DB.InsertLineNumberInfo(document.PATH, drawingNumber, drawingName, document);
260 261

  
......
264 265
                    SplashScreenManager.CloseForm(false);
265 266
                    Log.Write("\r\n");
266 267
                }
267
                Thread.Sleep(1000);
268

  
269 268
                Log.Write("End Modeling");
270 269
                radApp.ActiveWindow.Fit();
271 270

  
271
                Thread.Sleep(1000);
272

  
272 273
                ReleaseCOMObjects(application);
273 274
                application = null;
274 275
                if (radApp.ActiveDocument != null)
......
554 555
                                    // 제거                                    
555 556
                                    RemoveSymbol(connSymbol);
556 557
                                    RemoveLine(item);
557
                                    passTypicalMode = true;
558
                                    this.passTypicalMode = true;
558 559

  
559 560
                                    // 재생성
560 561
                                    SymbolModelingBySymbol(connSymbol);
......
2395 2396
            double scaleFactor = width / cWidth;
2396 2397
            smartFrame.ScaleFactor = scaleFactor;
2397 2398
            smartFrame.SetOrigin(graphic.SPPIDGraphicLocation.X1, graphic.SPPIDGraphicLocation.Y1);
2399
            graphic.SPPID.RepresentationId = smartFrame.Index.ToString();
2398 2400
        }
2399 2401

  
2400 2402
        /// <summary>

내보내기 Unified diff

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