Thanks for the help.
I tried to add the line of code you gave me and I did not get an error message, but I also did not receive the results I was hoping for.
I'm trying to create a small script that will draw a facited nurbs polygon shape. Here is what I have so far:
circle -nr 0 1 0
-r 1 -d 1;
I'm trying to get rid of the blue code above so that Maya looks for which viewport is active and draws my nurbsPoly1 perpendicular to the active viewport or top viewport if Persp/non-orthagonal is active. Where would I place the "getPanel -withFocus;" in the syntax above to achieve this result?