View Single Post
# 3 29-12-2003 , 11:18 PM
DigitalDez's Avatar
Registered User
Join Date: Dec 2003
Posts: 2
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. user added image

I'm trying to create a small script that will draw a facited nurbs polygon shape. Here is what I have so far:

My Code:
circle -nr 0 1 0 -r 1 -d 1;
rename "nurbsPoly1";

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?