Write parameters into excel with Ilogic
Not applicable
08-10-2016
07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I want Inventor to write a parameter into excel after I have updated the parameter "Rotation". I got the ilogic script to write to excel but it does not update the geometri between the loops. Have I missed a update command?
BR/Goran
SyntaxEditor Code Snippet
ExcelFile = "C:\_Vault Workspace\Designs\15\15-0161 Goran Optiska modeller\Penta prisma\Pentaprisma resultat.xlsx" i=1 While (i<360) rotation = i column_vinkel = "A" & i+1 column_Vinz = "B" & i+1 column_Viny = "C" & i+1 column_Voutx = "D" & i+1 column_Voutz = "E" & i+1 GoExcel.CellValue(ExcelFile, "Ark1",column_vinkel) = i GoExcel.CellValue(ExcelFile, "Ark1",column_Vinz) = Vinz GoExcel.CellValue(ExcelFile, "Ark1",column_Viny) = Viny GoExcel.CellValue(ExcelFile, "Ark1",column_Voutx) = Voutx GoExcel.CellValue(ExcelFile, "Ark1",column_Voutz) = Voutz i=i+1 End While GoExcel.Save
Link copied