Submitted by David on Mon, 04/22/2013 - 02:49
Forums:
Hi All,
Does anyone know a way around using both System.Windows.Forms, and manipulating the view in NX with a line of code such as;
workPart.ModelingView.WorkView.Orient(View.Canned.Trimetric, View.ScaledAdjustment.Fit)
in the same journal?
It causes an ambiguity error when it compiles because the "View" is used by both.
Any help appreciated
re: ambiguity
If you are getting ambiguity errors, you will need to fully qualify one (possibly both) of the "View" objects. The line of code in your post would become:
Thanks!
Thanks!
Cheers,
David