# Command to start render?

**URL:** <https://forums.chaos.com/t/command-to-start-render/24501>\
**Category:** Issues\
**Created:** [June 28, 2010, 7:14am UTC](https://forums.chaos.com/t/command-to-start-render/24501 "2010-06-28T07:14:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![snivlem](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@snivlem](https://forums.chaos.com/u/snivlem)\
**Post date:** [June 28, 2010, 7:14am UTC](https://forums.chaos.com/t/command-to-start-render/24501/1 "2010-06-28T07:14:20Z")

</div>

Hi, what’s the command to start V-Ray renderer?

“render” will start sw renderer  
“hwRender” will start the hw renderer

I though vrayRender would start the V-Ray renderer but I get:

// Error: Line 1.11: Wrong number of arguments on call to vrayRender. //

Thanks. 🙂

---

<div class="post-metadata">

**Author:** ![Sequenz](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sequenz](https://forums.chaos.com/u/Sequenz)\
**Post date:** [June 28, 2010, 8:46am UTC](https://forums.chaos.com/t/command-to-start-render/24501/2 "2010-06-28T08:46:43Z")

</div>

Hm, for a vrscene we use C:/…/Maya2010/vray/bin/vray -sceneFile=…

---

<div class="post-metadata">

**Author:** ![snivlem](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@snivlem](https://forums.chaos.com/u/snivlem)\
**Post date:** [June 28, 2010, 9:27am UTC](https://forums.chaos.com/t/command-to-start-render/24501/3 "2010-06-28T09:27:57Z")

</div>

Hi seq, this is an internal command inside Maya GUI.

(I’m modifying the LayoutTools script to user V-Ray instead of Maya Software by default. Steven Uses the “render” command to initiate the thumbnail icon generation).

---

<div class="post-metadata">

**Author:** ![pechart](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pechart](https://forums.chaos.com/u/pechart)\
**Post date:** [June 29, 2010, 3:51pm UTC](https://forums.chaos.com/t/command-to-start-render/24501/4 "2010-06-29T15:51:24Z")

</div>

The command for vray would be interesting for me, too. Also the other additional command line flags when using vray for maya. Are they the same as for vray standalone? Or is there any documentation on that?

---

<div class="post-metadata">

**Author:** ![Sequenz](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sequenz](https://forums.chaos.com/u/Sequenz)\
**Post date:** [June 30, 2010, 7:37am UTC](https://forums.chaos.com/t/command-to-start-render/24501/5 "2010-06-30T07:37:25Z")

</div>

Hi Snivlem,

okay, that’s interesting. Can you share the modified script? Would be great.

---

<div class="post-metadata">

**Author:** ![snivlem](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@snivlem](https://forums.chaos.com/u/snivlem)\
**Post date:** [June 30, 2010, 9:04am UTC](https://forums.chaos.com/t/command-to-start-render/24501/6 "2010-06-30T09:04:46Z")

</div>

No, it is not a good idea, as it does not work - well only just:

1) V-Ray dumps the image in the wrong folder (working directory, not the props folder)  
2) The image is called untitled, instead of the prop name  
3) the render thumbnail is the wrong size (V-Ray defaults to 640x480, not 128x128 )

Need to fix these before LayoutTools works with V-Ray instead of software.
