개정판 932933ed
dev issue #1230 : Linenumber modeling
Change-Id: I15a1e7458d6b0f76032dbad0e1d4a48aeba9bf15
DTI_PID/APIDConverter/APIDConverterExplorer.cs | ||
---|---|---|
33 | 33 |
|
34 | 34 |
private void btnOpenConverter_Click(object sender, EventArgs e) |
35 | 35 |
{ |
36 |
|
|
36 | 37 |
APIDConverter form = new APIDConverter(); |
37 | 38 |
if (AcadApp.ShowModalDialog(form) == DialogResult.OK) |
38 | 39 |
{ |
39 |
System.Data.DataTable avevaSymbolTable = Project_DB.SelectSymbolTable(); |
|
40 |
|
|
41 |
foreach (var item in form.Documents) |
|
40 |
try |
|
42 | 41 |
{ |
43 |
AutoModeling autoModeling = new AutoModeling(item, avevaSymbolTable); |
|
44 |
autoModeling.CreateDrawing(); |
|
42 |
AccessPropertyForm.Run(); |
|
43 |
System.Data.DataTable avevaSymbolTable = Project_DB.SelectSymbolTable(); |
|
44 |
|
|
45 |
foreach (var item in form.Documents) |
|
46 |
{ |
|
47 |
AutoModeling autoModeling = new AutoModeling(item, avevaSymbolTable); |
|
48 |
autoModeling.CreateDrawing(); |
|
49 |
} |
|
50 |
|
|
51 |
MessageBox.Show("End Conversion", "APID Converter", MessageBoxButtons.OK, MessageBoxIcon.Information); |
|
45 | 52 |
} |
53 |
catch (Exception ex) |
|
54 |
{ |
|
46 | 55 |
|
47 |
MessageBox.Show("End Conversion", "APID Converter", MessageBoxButtons.OK, MessageBoxIcon.Information); |
|
56 |
} |
|
57 |
finally |
|
58 |
{ |
|
59 |
AccessPropertyForm.Stop(); |
|
60 |
} |
|
61 |
|
|
48 | 62 |
} |
49 | 63 |
} |
50 | 64 |
|
내보내기 Unified diff