Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
insomnix
in reply to: insomnix

This is still not completely solved. I'm seeing some oddities in the pages, they are not updating correctly. I've attached some working docs. I'm hoping someone with more robust knowledge of Inventor and iLogic can help me figure this out.

 

One issue looks like the width and length parameters are not updating in the iLogic code when the model state changes, which is strange considering the image of the part changes to the new size. This can be demonstrated by running the generate rule, where it will iterate through the blanks but the message box will show the same size for every blank.

 

Another oddity that mostly happens on the last sheet, but can happen on other sheets or not at all; the field text populated from iProperties does not update. Custom or project properties doesn't appear to matter, I've dropped several UpdateWhenDone and DocumentUpdate commands, but they don't help.

 

A low priority oddity that has a work around, but is just irritating; I moved most of the IDW updates to the IPT, mostly due to the iLogic trigger on open didn't seam to be working well in the IDW. Using the code to find the sheet size of the IDW from the IPT results in numbers 10 times higher than similar code ran in the IDW. This can be demonstrated by running the check sheet size rule in each of the attached files. Maybe there is a reason for this, but I can't think what that reason might be. It's just inconsistent. 

 

Thanks for the help so far.