diff --git a/CatiaNetTest/AndOrDataExtraction.vb b/CatiaNetTest/AndOrDataExtraction.vb index e00fe3bc5c259bded24595cb8fb2a19254630f4c..7c35f0b444b5af2a7d56025638e2d0a91471b151 100644 --- a/CatiaNetTest/AndOrDataExtraction.vb +++ b/CatiaNetTest/AndOrDataExtraction.vb @@ -49,7 +49,7 @@ Public Class AndOrDataExtraction intStep = 13 dCollSens = 2 xlsPath = "D:\03_Dissertation\20_Tools\CATIA_NET\ProgData\" - xlsFileName = "test_AOG" + xlsFileName = "ex_rq1_10_orenda_jet_enginge" CATIA = GetObject(, "CATIA.Application") If CATIA Is Nothing Then CATIA = CreateObject("CATIA.Application") diff --git a/CatiaNetTest/AssemblyTiers2.vb b/CatiaNetTest/AssemblyTiers2.vb index 1f2d3d97337aa05a87877145b7ca1bd2891d2162..a330bee33c6aefe8136d06c5f4f86389bf749122 100644 --- a/CatiaNetTest/AssemblyTiers2.vb +++ b/CatiaNetTest/AssemblyTiers2.vb @@ -1930,11 +1930,17 @@ Finish: 'Write data objSheet1.Cells(1, 1).Value = "Product" objSheet1.Cells(1, 2).Value = "BB volume" + objSheet1.Cells(1, 3).Value = "x" + objSheet1.Cells(1, 4).Value = "y" + objSheet1.Cells(1, 5).Value = "z" For int_i = 0 To cRelevantProducts.Count - 1 Dim dPartBBVolume As Double dPartBBVolume = (aPartBBGlob(int_i, 0) - aPartBBGlob(int_i, 1)) * (aPartBBGlob(int_i, 2) - aPartBBGlob(int_i, 3)) * (aPartBBGlob(int_i, 4) - aPartBBGlob(int_i, 5)) objSheet1.Cells(int_i + 2, 1).Value = cRelevantProducts.Item(int_i).Name objSheet1.Cells(int_i + 2, 2).Value = dPartBBVolume + objSheet1.Cells(int_i + 2, 3).Value = (aPartBBGlob(int_i, 0) - aPartBBGlob(int_i, 1)) + objSheet1.Cells(int_i + 2, 4).Value = (aPartBBGlob(int_i, 2) - aPartBBGlob(int_i, 3)) + objSheet1.Cells(int_i + 2, 5).Value = (aPartBBGlob(int_i, 4) - aPartBBGlob(int_i, 5)) Next int_i 'Save and close excel workbook objExcel.ActiveWorkbook.SaveAs(Filename:=xlsPath & xlsFileName & "_BB Volumes.xlsx") diff --git a/CatiaNetTest/bin/Debug/CatiaNetTest.exe b/CatiaNetTest/bin/Debug/CatiaNetTest.exe index 34e6f534b6a94519b46a81bf76583c43a1d5e427..3666fe07c5ec2675005d11f4260191a4325b5c5c 100644 Binary files a/CatiaNetTest/bin/Debug/CatiaNetTest.exe and b/CatiaNetTest/bin/Debug/CatiaNetTest.exe differ diff --git a/CatiaNetTest/bin/Debug/CatiaNetTest.pdb b/CatiaNetTest/bin/Debug/CatiaNetTest.pdb index 516eddfed28da258cbb86aa02013690485d4f3c1..a57af57efc13433e3f9d90e1bceb79898c04e084 100644 Binary files a/CatiaNetTest/bin/Debug/CatiaNetTest.pdb and b/CatiaNetTest/bin/Debug/CatiaNetTest.pdb differ diff --git a/CatiaNetTest/bin/Debug/CatiaNetTest.vshost.exe.manifest b/CatiaNetTest/bin/Debug/CatiaNetTest.vshost.exe.manifest new file mode 100644 index 0000000000000000000000000000000000000000..061c9ca950d0e8bb952c52799fb401a6614ad640 --- /dev/null +++ b/CatiaNetTest/bin/Debug/CatiaNetTest.vshost.exe.manifest @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> + <security> + <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> + <requestedExecutionLevel level="asInvoker" uiAccess="false"/> + </requestedPrivileges> + </security> + </trustInfo> +</assembly> diff --git a/CatiaNetTest/obj/Debug/CatiaNetTest.exe b/CatiaNetTest/obj/Debug/CatiaNetTest.exe index 34e6f534b6a94519b46a81bf76583c43a1d5e427..3666fe07c5ec2675005d11f4260191a4325b5c5c 100644 Binary files a/CatiaNetTest/obj/Debug/CatiaNetTest.exe and b/CatiaNetTest/obj/Debug/CatiaNetTest.exe differ diff --git a/CatiaNetTest/obj/Debug/CatiaNetTest.pdb b/CatiaNetTest/obj/Debug/CatiaNetTest.pdb index 516eddfed28da258cbb86aa02013690485d4f3c1..a57af57efc13433e3f9d90e1bceb79898c04e084 100644 Binary files a/CatiaNetTest/obj/Debug/CatiaNetTest.pdb and b/CatiaNetTest/obj/Debug/CatiaNetTest.pdb differ