It is currently Wed Jun 19, 2013 2:59 am

All times are UTC





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 02, 2010 3:48 pm 
Offline
MCAD Lurker

Joined: 18 Mar 2010
Posts: 8
Country: United States
State: Florida
CAD System: Inventor
Hello all,
I would like to control ActiveView during part creation from VB.
I was able to fit model on the screen, but how to rotate or change view to different angle I could not find any information.
'To fit it on the screen
Dim oNewView As Inventor.View =Invapp.ActiveView
oNewView.Fit

Please help.


Share on FacebookShare on TwitterShare on DiggShare on DeliciousShare on TumblrShare on Google+
Top
 Profile  
 
PostPosted: Thu Sep 02, 2010 5:08 pm 
Offline
MCAD Lurker

Joined: 18 Mar 2010
Posts: 8
Country: United States
State: Florida
CAD System: Inventor
Found an answer,
ThisApplication.ActiveView.Fit True
Dim oCamera As Camera
Set oCamera = ThisApplication.ActiveView.Camera
oCamera.ViewOrientationType = kIsoTopRightViewOrientation
oCamera.Apply


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
POWERED_BY