Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to set this view as home with Ilogic.
Can you help me with the code ?
Solved! Go to Solution.
I want to set this view as home with Ilogic.
Can you help me with the code ?
Solved! Go to Solution.
You need to use active view and its camera objet to manipulation with it.
Dim activeView As Inventor.View = ThisApplication.ActiveView
Dim camera As Camera = activeView.Camera
camera.ViewOrientationType = ViewOrientationTypeEnum.kIsoTopRightViewOrientation
camera.ApplyWithoutTransition()
Dim fitToView As Boolean = True
activeView.SetCurrentAsHome(fitToView)
That seens to work as i want to thanks