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.
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,