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 Custom Node - Multiple Inputs/Outputs?
  RSS 2.0 ATOM  

Python API Custom Node - Multiple Inputs/Outputs?
Rate this thread
 
55908
 
Permlink of this thread  
avatar
  • wesm
  • Posted: 17 May 2011 10:01 AM
  • Location: Louisville Kentucky
  • Total Posts: 204
  • Joined: 22 August 2006 01:27 PM

Hi,

I was wondering if it was possible to create multiple inputs and outputs in a custom node. I would like to create a custom node that takes multiple inputs and outputs multiple values. However, I am new at using the API and have only seen samples that show one input and one output.

aInput = OpenMaya.MObject()
aOutput = OpenMaya.MObject()

I’m wanting to output XYZ rotation and translation values and was wondering if MObject is incorrect.

Thanks!

Wes



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

Replies: 0
avatar
  • Imrans
  • Posted: 23 May 2011 01:28 AM

Hi Wes,

I’ve been playing around with the API for a couple of days and I’ve the same questions as you :) Even thou I can take multiple inputs but still cannot have outputs more than one.

You might already have it, but maybe this link will help you :
http://download.autodesk.com/us/maya/2011help/API/classes.html

Please update if you find the answer to your question, as it will benefit me and others.

Cheers,
Imran

wesm 17 May 2011 05:01 PM

Hi,

I was wondering if it was possible to create multiple inputs and outputs in a custom node. I would like to create a custom node that takes multiple inputs and outputs multiple values. However, I am new at using the API and have only seen samples that show one input and one output.

aInput = OpenMaya.MObject()
aOutput = OpenMaya.MObject()

I’m wanting to output XYZ rotation and translation values and was wondering if MObject is incorrect.

Thanks!

Wes



Replies: 0