第 1 条消息(共 5 条)
Zoom All

不适用
07-20-2010
05:22 AM
I want to do a "Zoom All"
In a sub I use
Dim oDoc As Document
Set oDoc = ThisApplication.ActiveDocument
Dim window As View
Set window = ThisApplication.ActiveView
window.Fit
But I want to do it from a VBA form with IV running. I thought this might work, but no.
Dim oApp As Inventor.Application
Dim window As View
Set window = oApp.ActiveView
window.Fit
Any guidance would be appreciated.