"iLogicVb.UpdateWhenDone = True" sets a flag that tells Inventor to update when it's done. It doesn't matter where it goes because it wont act on it until it's finished running everything anyways.
If I had used "InventorVb.DocumentUpdate()", then you would be correct, because this line causes Inventor to stop and update immediately.
Yeah I did know the rule just thought it reads from top to bottom no matter what unless you tell it to go back to it..
I did program a long time ago so things have changed a bit and I have not been following.
I am now into it and learning Curtis has helped me out so much I feel I owe him dinner lol...
Please mark this response as "Accept as Solution" if it answers your question.
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(