Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / Python API Scripted Commands with Xcode?
  RSS 2.0 ATOM  

Python API Scripted Commands with Xcode?
Rate this thread
 
55290
 
Permlink of this thread  
avatar
  • wesm
  • Posted: 03 May 2011 07:11 AM
  • Location: Louisville Kentucky
  • Total Posts: 204
  • Joined: 22 August 2006 01:27 PM

Hi,

I am beginning to experiment with the Maya Python API. I am currently using BBEdit as an IDE. However, I was wondering if Xcode can be used to author scripted plugins using Python? I’m guessing not as they are not compiled. However, I was just checking to see as I’m comfortable with Xcode.

I love to hear what’s being used on Mac OS X to write scripted Python API plugins. I’ve read that BBEdit, TextMate are the best. Are there any options that work better?

Thanks,

Wes



Wes McDermott | 3D Artist | Author
http://the3dninja.com
http://the3dninja.com/blog

Replies: 0
avatar

I am also interested in knowing, if Python or MEL scripting is possible on Mac OS. Or is Visual Studio on Windows the only option ?



Replies: 0
avatar
  • svenito
  • Posted: 15 June 2011 04:16 AM

Of course it is. You can use Xcode simply as an editor (xed is the editor if you want to launch it from the terminal without the rest of Xcode)

You can add custom targets in Xcode that will run shell scripts for builds that will allow you to copy your MEL/Python scripts to the relevant locations when you build.

If you are writing compiled plugins though you will only be able to build for Mac. If you want to build for Linux or Windows you will need build them on those systems as well.

--
./Sven



--
./Sven

Replies: 0
avatar
  • wesm
  • Posted: 16 June 2011 06:11 AM

svenito 15 June 2011 11:16 AM

Of course it is. You can use Xcode simply as an editor (xed is the editor if you want to launch it from the terminal without the rest of Xcode)

You can add custom targets in Xcode that will run shell scripts for builds that will allow you to copy your MEL/Python scripts to the relevant locations when you build.

If you are writing compiled plugins though you will only be able to build for Mac. If you want to build for Linux or Windows you will need build them on those systems as well.

--
./Sven

Thanks much : ) Good to know.



Wes McDermott | 3D Artist | Author
http://the3dninja.com
http://the3dninja.com/blog

Replies: 0