mel and materials

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
mango
Licensed Customer
Posts: 6
Joined: Fri Dec 12, 2014 7:49 pm

I posted this question at the end of an old topic last week, but perhaps it was ignored because it was thought to be a reply to that topic, rather than a new question. (The old topic was: viewtopic.php?f=28&t=38012) So I'm making a new post. Here is my question.

I am trying to use the mel command:
octane -gtexcpin <pin name>

I have been unsuccessful, probably because I am giving it the wrong pin name. Let's say I have an existing octane material called OctaneDiffuseMaterial30. Any of the following commands:
octane -gtexcpin octaneDiffuseMaterial30
octane -gtexcpin "octaneDiffuseMaterial30"
octane -gtexcpin whatever
generate this response:
// Error: Octane: error getting attribute value: //
// Result: -1 -1 -1 //

I have also tried:
octane -gtexcpin octaneDiffuseMaterial30.outColor
and I get the following response:
// Error: Octane: error getting attribute value: (kInvalidParameter): Object does not exist //
// Result: -1 -1 -1 //

I am still learning mel/maya/octane. Can someone please tell me what I am doing wrong? Also, is there any documentation on the mel/octane commands? The only place I found them is on this forum.

Thanks.

Susan
Post Reply

Return to “Autodesk Maya”