iLogic to build nozzle dimensions

iLogic to build nozzle dimensions

Anonymous
Not applicable
930 Views
5 Replies
Message 1 of 6

iLogic to build nozzle dimensions

Anonymous
Not applicable

Hi,

 

I have an excel table with different nozzle classes and sizes I am interested in (see attached). I am essentially trying to code iLogic to build my nozzles for me and I am a bit of a beginner.

 

I have so far managed to generate the following code and need a bit of help finishing it;

 

 

MultiValue.SetList("Class", "Class 150", "Class 300", "Class 400", "Class 600", "Class 900", "Class 1500", "Class 2500")
If Class = "Class 150" Then
GoExcel.TitleRow = 44
MultiValue.List("Nozzle1") = GoExcel.CellValues("Flanges.xls", "Sheet1", "O45", "O56")
ElseIf Class = "Class 300" Then
GoExcel.TitleRow = 68
MultiValue.List("Nozzle1") = GoExcel.CellValues("Flanges.xls", "Sheet1", "O69", "O80")
ElseIf SIZE = "Class 400" Then
GoExcel.TitleRow = 92
MultiValue.List("Nozzle1") = GoExcel.CellValues("Flanges.xls", "Sheet1", "O93", "O104")
End If
Dim oRow As Integer
Select Case Parameter("Nozzle1")
Case "D": oRow = 45
Case "T": oRow = 46
Case "A": oRow = 47
Case "E": oRow = 48
Case "L": oRow = 49
Case "B": oRow = 50
Case "P": oRow = 51
Case "DB": oRow = 52
Case "N": oRow = 53
Case "DB2": oRow = 54
Case "DRF": oRow = 55
Case "TTF": oRow = 56
End Select

 Any help will be much appreciated.  

 

Thanks.

0 Likes
931 Views
5 Replies
Replies (5)
Message 2 of 6

bradeneuropeArthur
Mentor
Mentor

Why not embed the xls file in the part and use this to create your versions of the flange.

This is without I-logic and therefore much easier.

 

I could show you an example if you want....

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 6

Anonymous
Not applicable

braneneurope,

 

I have not thought about this to be honest. Any help or example you can share will be a great help.

 

Thanks.

0 Likes
Message 4 of 6

bradeneuropeArthur
Mentor
Mentor

https://www.youtube.com/watch?v=eecgf5o844M

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 6

bradeneuropeArthur
Mentor
Mentor
You can use the Excel functionality to achieve your needs.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 6 of 6

bradeneuropeArthur
Mentor
Mentor

EmbeddedList.PNG

this is for example a pipe with versions...

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes