Announcement

Collapse
No announcement yet.

python commands

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • python commands

    Hi.

    Are there python module/commands for vray, vrend, vrayCreateProxy,... ?

    If not, are they planned ?

    thanks in advance.

  • #2
    Currently there are only MEL versions of these commands. We have not planned python equivalents, but we can certainly look into this if there is enough interest.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      I've set up some parameters trough python, simply take a look at script editor output and copy this in "python syntax"...

      For example, this "mel output":

      setAttr "perspShape.vrayCameraType" 0;

      would be, for python input:

      import maya.cmds as cmd
      cmd.setAttr("perspShape.vrayCameraType", 0)


      or perhaps I haven't understanded the question... did you refer that things like "create sun" or "create sky" doesn't produce script editor outputs?

      Comment

      Working...
      X