ilogic and goexcel

ilogic and goexcel

viculises10
Community Visitor Community Visitor
248 Views
2 Replies
Message 1 of 3

ilogic and goexcel

viculises10
Community Visitor
Community Visitor

Hi , Im trying to use ilogic to link values from excel to inventor. I don't get any errors but the code doesn't work.

I have two user parameters pipe size and pipe schedule and I have a cylinder with a parameter OD. My excel spread sheet has a column for Pipe sizes , next column is Pipe schedule and the last one is OD. The code is supposed to change the OD of the cylinder every time I update the parameters pipe size and pipe schedule but it doesn't do that. Because I don't get any errors i dont know whats wrong. attached are the excel file and the inventor ipart

0 Likes
249 Views
2 Replies
Replies (2)
Message 2 of 3

A.Acheson
Mentor
Mentor

Hi @viculises10 

I haven't had a chance to open the ipart. Would it be an easier approach to just use an ipart exclusively with no ilogic? Simply paste values direct to excel table of the ipart. 

 

If you want to create an ilogic part please paste the code your using into the editor </> and we can see if the code is looking in the right locations. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 3

Andrii_Humeniuk
Advisor
Advisor

Hi @viculises10 . You need to remove empty rows in your excel file. I also changed your code a bit, and added an event triggers to the change of user parameters.

Andrii Humeniuk - CAD Coordinator, Autodesk Certified Instructor

LinkedIn | My free Inventor Addin | My Repositories

Did you find this reply helpful ? If so please use the Accept as Solution/Like.

EESignature

0 Likes