Message 1 of 5
Zoom All

Not applicable
07-20-2010
05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.