Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 20-03-2006 , 11:07 AM
facelaunch's Avatar
Registered User
Join Date: Mar 2006
Posts: 1

How do you pass values from a .mll to mel script?

Hi


I have written script so that the mouse can click and drag in the x,y,z directions.

I now need to use this code for another device - phantom device - though the type of device is not extremely important. I have the .mll code which can locate the x,y,z position of the phantom device but how do you pass the c++ values into the mel scipt - so that it knows that it needs to work with x,y,z values of the phantom and not the mouse?



eg.



// call the .mll for getting the x,y,z postion of the phantom device



// assign the phantom[x] to the mouse variable for [x];

// assign the phantom[y] to the mouse variable for [y];

// assign the phantom[z] to the mouse variable for [z];


user added image

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads