# python commands

**URL:** <https://forums.chaos.com/t/python-commands/24338>\
**Category:** General\
**Created:** [June 10, 2010, 4:54pm UTC](https://forums.chaos.com/t/python-commands/24338 "2010-06-10T16:54:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![homeless3d](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@homeless3d](https://forums.chaos.com/u/homeless3d)\
**Post date:** [June 10, 2010, 4:54pm UTC](https://forums.chaos.com/t/python-commands/24338/1 "2010-06-10T16:54:35Z")

</div>

Hi.

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

If not, are they planned ?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [June 10, 2010, 4:57pm UTC](https://forums.chaos.com/t/python-commands/24338/2 "2010-06-10T16:57:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Reaversword](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Reaversword](https://forums.chaos.com/u/Reaversword)\
**Post date:** [June 11, 2010, 1:23pm UTC](https://forums.chaos.com/t/python-commands/24338/3 "2010-06-11T13:23:58Z")

</div>

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?
