개정판 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 |
{ |
DTI_PID/SPPIDConverter/ConverterForm.cs | ||
---|---|---|
523 | 523 |
|
524 | 524 |
private void btnRun_Click(object sender, EventArgs e) |
525 | 525 |
{ |
526 |
this.Visible = false; |
|
526 | 527 |
_Documents.Clear(); |
527 | 528 |
|
528 | 529 |
foreach (int rowHandle in gridViewConverter.GetSelectedRows()) |
... | ... | |
555 | 556 |
{ |
556 | 557 |
AutoModeling modeling = new AutoModeling(document, commandControl.Application.RADApplication); |
557 | 558 |
modeling.Run(); |
559 |
break; |
|
558 | 560 |
} |
559 | 561 |
} |
560 |
|
|
562 |
this.Visible = true; |
|
561 | 563 |
MessageBox.Show("End Modeling"); |
562 | 564 |
} |
563 | 565 |
|
내보내기 Unified diff