프로젝트

일반

사용자정보

개정판 224535bb

ID224535bb48a16d6e184a159912ed65a9d789b805
상위 2776a8d2
하위 7dcb95df

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

dev issue #569 : PDF To Image 변환툴 여러 파일 가능하게 수정 / OPC 작업을 위한 Drawing 정보 정리

Change-Id: I62beba4afda9acbeab9bfb5ace94ca221673c584

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
105 105
        /// </summary>
106 106
        public void Run()
107 107
        {
108
            string drawingNumber = document.DrawingNumber;
109
            string drawingName = document.DrawingName;
108 110
            try
109 111
            {
110 112
                _placement = new Placement();
111 113
                dataSource = _placement.PIDDataSource;
112 114

  
113
                CreateDocument();
115
                CreateDocument(ref drawingNumber, ref drawingName);
114 116

  
115 117
                if (DocumentCoordinateCorrection())
116 118
                {
......
240 242
                ReleaseCOMObjects(dataSource);
241 243
                ReleaseCOMObjects(_placement);
242 244

  
245
                Project_DB.InsertDrawingInfo(document.PATH, drawingNumber, drawingName, document);
243 246
                //SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.ClearParent, null);
244 247
                SplashScreenManager.CloseForm(false);
245 248
            }
......
248 251
        /// <summary>
249 252
        /// 도면 생성 메서드
250 253
        /// </summary>
251
        private void CreateDocument()
254
        private void CreateDocument(ref string drawingNumber, ref string drawingName)
252 255
        {
253
            string drawingName = document.DrawingName;
254
            string drawingNumber = document.DrawingNumber;
255

  
256 256
            GetDrawingNameAndNumber(ref drawingName, ref drawingNumber);
257 257

  
258 258
            newDrawing = application.Drawings.Add(document.Unit, document.Template, drawingNumber, drawingName);
......
260 260
            Thread.Sleep(1000);
261 261
            application.ActiveWindow.Zoom = 2000;
262 262
            Thread.Sleep(2000);
263

  
264
            Project_DB.InsertDrawingInfo(document.PATH, drawingNumber, drawingName);
265 263
        }
266 264

  
267 265
        /// <summary>
......
537 535
                {
538 536
                    _LMSymbol.Commit();
539 537
                    symbol.SPPID.RepresentationId = _LMSymbol.AsLMRepresentation().Id;
538
                    symbol.SPPID.ModelItemID = _LMSymbol.ModelItemID;
540 539
                    symbol.SPPID.GraphicOID = _LMSymbol.get_GraphicOID();
541 540

  
542 541
                    foreach (var item in symbol.ChildSymbols)

내보내기 Unified diff

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