개정판 68f01206
dev issue #000 : 임시 수정
Change-Id: I67514d8219937773f1736359e7a6c31d52a1de9d
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
43 | 43 |
{ |
44 | 44 |
_placement = new Placement(); |
45 | 45 |
dataSource = _placement.PIDDataSource; |
46 |
dynamic application = Interaction.GetObject("", "PIDAutomation.Application"); |
|
47 |
dynamic newDrawing = application.Drawings.Add(document.Unit, document.Template, document.DrawingNumber, document.DrawingName); |
|
48 |
application.ActiveWindow.Fit(); |
|
49 |
Thread.Sleep(100); |
|
50 |
application.ActiveWindow.Zoom = 60; |
|
51 |
Thread.Sleep(100); |
|
52 | 46 |
|
47 |
//dynamic application = Interaction.GetObject("", "PIDAutomation.Application"); |
|
48 |
//dynamic newDrawing = application.Drawings.Add(document.Unit, document.Template, document.DrawingNumber, document.DrawingName); |
|
49 |
//application.ActiveWindow.Fit(); |
|
50 |
//Thread.Sleep(100); |
|
51 |
//application.ActiveWindow.Zoom = 60; |
|
52 |
//Thread.Sleep(100); |
|
53 | 53 |
|
54 | 54 |
try |
55 | 55 |
{ |
내보내기 Unified diff