Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Beginner with Python

Beginner with Python

Anonymous
Not applicable
455 Views
1 Reply
Message 1 of 2

Beginner with Python

Anonymous
Not applicable

Hello,

 

I am a student and a instructor gave me the nudge to try to learn how to scrpit with python so I create my out tools for specific projects. However I try to follow along with the tutorials that I watch and I keep getting an error saying wrong syntax. Is their anything I need to turn on for python? 

0 Likes
456 Views
1 Reply
Reply (1)
Message 2 of 2

vijaya.prakash
Alumni
Alumni

Hi,

 

Are you using Maya's Script Editor to run Python code?. If yes, could you please check the "Python" tab is enabled instead of "MEL" tab. Moreover, while writing the Python code, you have to follow the indentation. Please check this link for indentation.

python-tab.jpg

 

Thanks,

Vijaya Prakash.

0 Likes