Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch 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
Joined
Sep 27, 2007
Messages
69
Location
IN
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

Back
Top