English 中文(简体)
Does Maya Mel have a good API to a IDE? [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

I m developing in MAYA and looking for a good API to connect my models and to be able to control them programatically.

thanks.

最佳回答

hye oded, you can use MEL or python scripting for control objects and doing simple actions, and you can use the c++ or Python via maya api to create complex tasks or heavy duty tasks, like creating deformers, expanding mel with new commands.

for resources in mel scripting i recommend "gnomon Mel fundemental" video tutor

and for the api i recommend "Complete Maya Programming" book

if you could do any scripting or api programming and you know some python, you can easily program/script with python which is way easier than mel or c++

hope that will help you :D

问题回答

There are a couple of apps for mel programming, but all they do is give you syntax coloring and maybe autocomplete. Nothing more advanced exists, which is just as well, because mel is just a terrible, terrible language: It really isnt good for anything other than quick hacks in Maya s script editor. You definitively should use Python.

You can use an external IDE, like Eclipse or WingIDE to control Maya, but it s tricky http://www.wingware.com/doc/howtos/maya

Whether youll be doing Python scripting or API development, definitively have a look at PyMel, which is a vast improvment over Maya s native Pyhon implementation.

if you are on windows you can use PyScripter, to configure it you have to show autocomplete you have to follow these steps

  1. Open Pyscripter for Python 2.6 if your python version in maya is 2.6.Click on Tools> Python Paths
  2. Browse and add following path:( D:Program Files (x86)AutodeskMaya2012devkitotherpymelextrascompletionpy )

if you are not able to add by step 2, you can manually add by

  1. going to Tools > Edit Startup Scripts in python_init.py add the two lines

    import sys sys.path.append("D:Program Files (x86)AutodeskMaya2012devkitotherpymelextrascompletionpy")

following above steps will give you ability to write in python and programmatically control you object inside maya.. externally from IDE... (this also give you the code autocomplete feature)





相关问题
Sybase Development IDE

Is there a Toad type application for Sybase? I can t seem to find a single one! I ve tried using VS 2008 but can t see the sproc source.

Good C IDE for Mac? [closed]

I ve just started a job where I m programming in C on a Mac, which is my first experience using a Mac for development. For now I m using Xcode as my editor, then using make/gcc/svn at the command line ...

What are your experiences with Code::Blocks? [closed]

I looked at Code::Blocks and it certainly looks great for c++ development, I like it s multiplatform capabilities (runs everywhere), but I wanted to get your feedback. Is it good/stable enough to be ...

What do you use to write Go [closed]

I know its a bit too early, but I ve been trying out Go (Google s Programming Language) and its kindof annoying to write code in gedit. So, my question: What do you use to experiment with Go?

Help with strange Delphi 5 IDE problems

Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Selenium IDE: Incrementing values by 1 and 71

Currently I m incrementing a value called wert by 1 with the following code: getEval storedVars[ wert ]=${wert}+1; The value wert is something like 80401299. I want to add 1 to the value, if it ...

热门标签