Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

WorkView.Fit() not working

Status
Not open for further replies.

basenxuser

Mechanical
Sep 27, 2007
69
Hello All,

I am using the following code in NX remoting. This is not working consistently. Any suggestions will help.

'Fit the modeling view
theSession.Parts.Work.ModelingViews.WorkView.Orient(NXOpen.View.Canned.Trimetric,
NXOpen.View.ScaleAdjustment.Fit)
theSession.Parts.Work.ModelingViews.WorkView.SetOrigin(New Point3d(0, 0, 0))
theSession.Parts.Work.ModelingViews.WorkView.Fit()
theSession.Parts.Work.Views.Refresh()
theSession.Parts.Work.Views.Regenerate()

Regards,
basenxuser
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor