[Maya-Python] environment for API calls ?

2011-09-02 Thread wannAPI
This is a very basic question:

Is it possible to make API calls from the command line, or should they
in general be considered apart from python scripts ? Aren't both of
the same nature ?

This might sound odd but that's one of the conceptual point I'm
missing personally.

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe


[Maya-Python] Re: environment for API calls ?

2011-09-02 Thread wannAPI
More precisely, if there is a boundary between python scripting and
API calls, how is it formalized ?

Thanks

Adam

On 2 sep, 18:52, wannAPI urbnc...@hotmail.com wrote:
 This is a very basic question:

 Is it possible to make API calls from the command line, or should they
 in general be considered apart from python scripts ? Aren't both of
 the same nature ?

 This might sound odd but that's one of the conceptual point I'm
 missing personally.

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe


Re: [Maya-Python] Re: environment for API calls ?

2011-09-02 Thread Jan Berger


A short answer would be yes, you can do it and it gives a lt of 
possibilities,

but if you are talking abou a script in the context of a bunch of commands
being executed one after another, you should realize that with calling the API
you may run into undo/redo issues.

I have done it in production but only to do really opportunistic stuff,
like copying mesh data around without creating tweaks etc.
and where creating a scripted or not plug-in would have caused
too much overhead.

But I really like this combo of API and Python and can only 
encouraged to go down

the path of Dark Magic Power Moves as I call it ; )

At 18:56 02.09.2011, you wrote:

More precisely, if there is a boundary between python scripting and
API calls, how is it formalized ?

Thanks

Adam

On 2 sep, 18:52, wannAPI urbnc...@hotmail.com wrote:
 This is a very basic question:

 Is it possible to make API calls from the command line, or should they
 in general be considered apart from python scripts ? Aren't both of
 the same nature ?

 This might sound odd but that's one of the conceptual point I'm
 missing personally.

--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe


Jan Berger
j...@janberger.de :: www.janberger.de  


--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe