interacting with python, how?!?

interacting with python, how?!?

jens.diemer
Collaborator Collaborator
399 Views
1 Reply
Message 1 of 2

interacting with python, how?!?

jens.diemer
Collaborator
Collaborator

We have the simple python interface: http://help.autodesk.com/cloudhelp/2015/ENU/MAXScript-Help/files/GUID-860B6BEB-AE3E-4F99-96E9-CCD70D...

 

But how can i send and receive information between maxscript and python?!?

 

The only information from python to maxscript are the return codes:

#success | #pathError | #initError | #scriptFileError | #executeError

That's all?!?

 

Must i use a temp file for communications?!?

Jens

------------------------------------------------------------------------------------------------------------------
https://github.com/jedie/3dsmax_bugs | https://github.com/jedie/3dsmax_patches
0 Likes
400 Views
1 Reply
Reply (1)
Message 2 of 2

kevinvandecar
Community Manager
Community Manager

Yes, as you see in the documentation there is limited interop between MAXScript and Python. From MAXscript, getting data from Python is not diorectly possible. But you can also execute MAXScript from python and there you have more ability to get data from the MAXScript environment. See here:

 

http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_050A2EBF_A176_49B8_8ED4_14FC2301531...

 

hope it helps,

kevin

 

 


Kevin Vandecar
Developer Technical Services
Autodesk Developer Network