개정판 bccacd6c
dev issue #507 : 순서 변경
Change-Id: I5b60b60b6cf432789c9a0a08566c2922581c8f65
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
74 | 74 |
SPPID_Document document = converterForm.Documents[i]; |
75 | 75 |
if (document.SetSPPIDMapping() && document.Enable) |
76 | 76 |
{ |
77 |
dynamic application = Interaction.GetObject("", "PIDAutomation.Application"); |
|
78 |
WrapperApplication wApp = new WrapperApplication(application.Application); |
|
79 |
Ingr.RAD2D.Application radApp = wApp.RADApplication; |
|
80 |
|
|
81 |
using (AutoModeling modeling = new AutoModeling(document, application, radApp, converterForm.checkEditCloseDocument.Checked)) |
|
77 |
using (AutoModeling modeling = new AutoModeling(document, converterForm.checkEditCloseDocument.Checked)) |
|
82 | 78 |
{ |
83 | 79 |
modeling.DocumentLabelText = string.Format("Drawing Name : {0} ({1}/{2})", document.DrawingName, i + 1, converterForm.Documents.Count); |
84 | 80 |
modeling.Run(); |
85 | 81 |
} |
86 |
ReleaseCOMObjects(application); |
|
87 | 82 |
} |
88 | 83 |
} |
89 | 84 |
} |
내보내기 Unified diff