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
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