Community
how can i get this code to pop up a msg box asking me "do you want to update the assembly?" and then i get to choose yes or no.
iLogicVb.UpdateWhenDone = True
thanks!
box = MsgBox("Would you like to update?", vbYesNo, "Update") If box = vbYes Then InventorVb.DocumentUpdate() End If
that didnt work,
but i fixed it.
iLogicVb.UpdateWhenDone = MsgBox("Would you like to update?", vbYesNo, "Update")
If iLogicVb.UpdateWhenDone = vbYes Then
InventorVb.DocumentUpdate()
End If
Why didn't it work? I wouldn't expect what you have there to work.
I am using inventor 2010.
it wouldn't recognise the box command.