Ilogic Iparts Slow

Ilogic Iparts Slow

Anonymous
Not applicable
386 Views
4 Replies
Message 1 of 5

Ilogic Iparts Slow

Anonymous
Not applicable

We have recently upgraded to Inventor 2018 and Windows 10. We have found that Ilogic rules that contain commands to change Iparts (iPart.FindRow ,ect) are taking significantly longer. A rule that used to take less than a second is now 20 seconds.

 

Can anyone shed any light please on what has happened?

0 Likes
387 Views
4 Replies
Replies (4)
Message 2 of 5

chandra.shekar.g
Autodesk Support
Autodesk Support

Hello @Anonymous,

 

Try to add below code before iPart.FindRow() method.

 

ThisApplication.UserInterfaceManager.DoEvents() 

Please feel free to contact if there is any queries.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 5

Anonymous
Not applicable

No sorry this doesn't seem to work.

 

The problem seem to be the initial changing of the iPart. When the model assembly is first loaded and configured which contains the iPart then the iPart takes a long time to switch between state A and state B. However, if switching back and forth between the iPart states after the initial run then it seems to behave normally and take less than a second as it should.

 

Closing the model and re-opening then seems to start the process again and the initial ipart change takes forever.

 

The purpose of these models are for designers to run and configure the model once from a master file. When I have multiple iParts in the assembly the update is now taking about 4 minutes where it should be less than 1 minute.

0 Likes
Message 4 of 5

chandra.shekar.g
Autodesk Support
Autodesk Support

@Anonymous,

 

Could you please provide sample assembly with iPart to test?

 

Please make sure that files are non confidential.


Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 5 of 5

HermJan.Otterman
Advisor
Advisor

maybe this link will help...

https://forums.autodesk.com/t5/inventor-forum/general-table-deleting-exiting-text-when-inserting-add...

 

the UseLibXL setting sometimes speed things up

 

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes