Octane Maya Plugin Script Editor output

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
Lala_Ghost
Licensed Customer
Posts: 1
Joined: Wed Apr 03, 2019 5:02 pm

If I create an Octane shader and edit some of its values, the script editor gives me no output about the changes.
I would like to write some code that changes the shader values of an Octane shader, but how do I do that?
calus
Licensed Customer
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Lala_Ghost wrote:If I create an Octane shader and edit some of its values, the script editor gives me no output about the changes.
I would like to write some code that changes the shader values of an Octane shader, but how do I do that?
The maya plugin implementation of the color swatch/greyscal slider in Octane materials are just a terrible hack :(
= the widgets are not linked to any node attribute, values are only stored in the Attribute Editor UI :shock:

You need to use the dedicated command "octane -pin" to edit them,
for usage, execute "octane -help" in the mel editor.

Or you can just avoid this by connecting a RGBspetrum or Greyscal color node in the texture input,
then you would have a regular Maya color attribute to tweak from script.
Pascal ANDRE
Post Reply

Return to “Autodesk Maya”