How to make an HTTP call from Maya2019 Community Moderator ElectionHow to merge two dictionaries in a single expression?How do I check whether a file exists without exceptions?Calling an external command in PythonHow to return multiple values from a function?How can I make a time delay in Python?How to make a chain of function decorators?How to make a flat list out of list of lists?HTTP GET with request bodyHow do I list all files of a directory?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?
Imaginary part of expression too difficult to calculate
What is it called when someone votes for an option that's not their first choice?
What kind of footwear is suitable for walking in micro gravity environment?
Friend wants my recommendation but I don't want to
If I cast the Enlarge/Reduce spell on an arrow, what weapon could it count as?
Homology of the fiber
Justification failure in beamer enumerate list
Do I need an EFI partition for each 18.04 ubuntu I have on my HD?
Is xar preinstalled on macOS?
Why are there no stars visible in cislunar space?
How to remove space in section title at KOMA-Script
Do people actually use the word "kaputt" in conversation?
CLI: Get information Ubuntu releases
Difficulty understanding group delay concept
"Marked down as someone wanting to sell shares." What does that mean?
Recursively updating the MLE as new observations stream in
Jem'Hadar, something strange about their life expectancy
What is the tangent at a sharp point on a curve?
Does fire aspect on a sword, destroy mob drops?
How to find the largest number(s) in a list of elements?
Animating wave motion in water
Air travel with refrigerated insulin
Why is participating in the European Parliamentary elections used as a threat?
Unfrosted light bulb
How to make an HTTP call from Maya
2019 Community Moderator ElectionHow to merge two dictionaries in a single expression?How do I check whether a file exists without exceptions?Calling an external command in PythonHow to return multiple values from a function?How can I make a time delay in Python?How to make a chain of function decorators?How to make a flat list out of list of lists?HTTP GET with request bodyHow do I list all files of a directory?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?
I need to communicate certain changes in Maya to an external system.
So I am thinking to make a REST API that can be called from Python within Maya, but I am not sure if that's something that Maya/Python will allow me to do.
I tried searching but was not able to find anything. Could you please point me to the right direction.
python rest maya mel
add a comment |
I need to communicate certain changes in Maya to an external system.
So I am thinking to make a REST API that can be called from Python within Maya, but I am not sure if that's something that Maya/Python will allow me to do.
I tried searching but was not able to find anything. Could you please point me to the right direction.
python rest maya mel
You have access to the full Python standard library (and you can also access 3rd party Python libraries if you want), so yes, you can make HTTP calls - that's what the Shotgun plugin for Maya does
– UnholySheep
Mar 6 at 23:22
add a comment |
I need to communicate certain changes in Maya to an external system.
So I am thinking to make a REST API that can be called from Python within Maya, but I am not sure if that's something that Maya/Python will allow me to do.
I tried searching but was not able to find anything. Could you please point me to the right direction.
python rest maya mel
I need to communicate certain changes in Maya to an external system.
So I am thinking to make a REST API that can be called from Python within Maya, but I am not sure if that's something that Maya/Python will allow me to do.
I tried searching but was not able to find anything. Could you please point me to the right direction.
python rest maya mel
python rest maya mel
asked Mar 6 at 23:15
TamerlaneTamerlane
81811328
81811328
You have access to the full Python standard library (and you can also access 3rd party Python libraries if you want), so yes, you can make HTTP calls - that's what the Shotgun plugin for Maya does
– UnholySheep
Mar 6 at 23:22
add a comment |
You have access to the full Python standard library (and you can also access 3rd party Python libraries if you want), so yes, you can make HTTP calls - that's what the Shotgun plugin for Maya does
– UnholySheep
Mar 6 at 23:22
You have access to the full Python standard library (and you can also access 3rd party Python libraries if you want), so yes, you can make HTTP calls - that's what the Shotgun plugin for Maya does
– UnholySheep
Mar 6 at 23:22
You have access to the full Python standard library (and you can also access 3rd party Python libraries if you want), so yes, you can make HTTP calls - that's what the Shotgun plugin for Maya does
– UnholySheep
Mar 6 at 23:22
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033694%2fhow-to-make-an-http-call-from-maya%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033694%2fhow-to-make-an-http-call-from-maya%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You have access to the full Python standard library (and you can also access 3rd party Python libraries if you want), so yes, you can make HTTP calls - that's what the Shotgun plugin for Maya does
– UnholySheep
Mar 6 at 23:22