Delayed update on mates when using iLogic/VB

Delayed update on mates when using iLogic/VB

vex
Collaborator Collaborator
301 Views
1 Reply
Message 1 of 2

Delayed update on mates when using iLogic/VB

vex
Collaborator
Collaborator

I came accross a peculiar problem today and not sure how to fix it or even where to start to look for the cause. I have a model that needs to be resized to different OAL and I have setup iLogic/VB/Rules to do it and it adjusts the component in the assembly correctly. However, once that updates the mates are incorrect (they don't move to the new location like the should) until I attempt to 'click and drag' something on the screen. The the components update and everything is where it should be. I'm guessing that the whole ordeal is that after the user uses the form the update to the various mates doesn't happen until some later event in the program (IE when the user attempts to shift/move a component). Is there a way to force the update of mates inside a rule? I've already included calls to InventorVb.DocumentUpdate(), but that doesn't seem to help.

0 Likes
302 Views
1 Reply
Reply (1)
Message 2 of 2

adam.nagy
Autodesk Support
Autodesk Support

Hi,

 

You could try Document.Rebuild.

 

If that does not help then could you provide a most simple set of public documents that can be used to reproduce the behaviour?

 

Cheers, 



Adam Nagy
Autodesk Platform Services
0 Likes