Thursday, May 5, 2011

iLogic Update and Zoom All after a size change.

Here is a quick tip that you might find helpful.

You have some iLogic code in a rule that changes the length of a part. It works great but you'd like to have the rule update the part on screen and zoom to fit, so that a large change of length will fit on screen.
You can add the following lines of code to your rule to make this happen:

'update all
iLogicVb.UpdateWhenDone = True
'zoom all